dma: ipu: Drop unused spinlock
authorJean Delvare <khali@linux-fr.org>
Thu, 6 Sep 2012 07:19:35 +0000 (09:19 +0200)
committerVinod Koul <vinod.koul@intel.com>
Tue, 8 Jan 2013 06:05:15 +0000 (22:05 -0800)
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>
drivers/dma/ipu/ipu_irq.c

index a5ee37d5320f9e94e4cdbf73a144a86216045078..2e284a4438bcac3161fd3107931dc72156ff9601 100644 (file)
@@ -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;
 };