]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
dma: ipu: Drop unused spinlock
authorJean Delvare <khali@linux-fr.org>
Thu, 6 Sep 2012 07:19:35 +0000 (09:19 +0200)
committerDan Williams <djbw@fb.com>
Tue, 18 Dec 2012 22:25:19 +0000 (14:25 -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 fa95bcc3de1f66b107a4cddf38e97d5fa68286b2..021ff8925b676432ad56500ac585ca7db40ce831 100644 (file)
@@ -45,7 +45,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;
 };