From: Jean Delvare Date: Thu, 6 Sep 2012 07:19:35 +0000 (+0200) Subject: dma: ipu: Drop unused spinlock X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e65f32ca21faed30ce37cd6480271697fe671f74;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git 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 Cc: Vinod Koul Signed-off-by: Dan Williams --- diff --git a/drivers/dma/ipu/ipu_irq.c b/drivers/dma/ipu/ipu_irq.c index a5ee37d5320..2e284a4438b 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; };