summaryrefslogtreecommitdiffstats
path: root/drivers/dma/ipu
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2012-09-06 09:19:35 +0200
committerVinod Koul <vinod.koul@intel.com>2013-01-07 22:05:15 -0800
commite65f32ca21faed30ce37cd6480271697fe671f74 (patch)
tree0a90dc63bce62a03c75cf972a47f92e3bd9fd9e0 /drivers/dma/ipu
parentc419fcfd071cf34ba00f9f65282583772d2655e7 (diff)
downloadlinux-e65f32ca21faed30ce37cd6480271697fe671f74.tar.gz
linux-e65f32ca21faed30ce37cd6480271697fe671f74.tar.bz2
linux-e65f32ca21faed30ce37cd6480271697fe671f74.zip
dma: ipu: Drop unused spinlock
I was checking why this spinlock was never initialized, but it turns out it's not used anywhere, so we can drop it. Signed-off-by: Jean Delvare <khali@linux-fr.org> Cc: Vinod Koul <vinod.koul@intel.com> Signed-off-by: Dan Williams <djbw@fb.com>
Diffstat (limited to 'drivers/dma/ipu')
-rw-r--r--drivers/dma/ipu/ipu_irq.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/dma/ipu/ipu_irq.c b/drivers/dma/ipu/ipu_irq.c
index a5ee37d5320f..2e284a4438bc 100644
--- a/drivers/dma/ipu/ipu_irq.c
+++ b/drivers/dma/ipu/ipu_irq.c
@@ -44,7 +44,6 @@ static void ipu_write_reg(struct ipu *ipu, u32 value, unsigned long reg)
struct ipu_irq_bank {
unsigned int control;
unsigned int status;
- spinlock_t lock;
struct ipu *ipu;
};