Re: [PATCH] dma: ipu: Drop unused spinlock

From: Vinod Koul
Date: Thu Sep 13 2012 - 23:13:28 EST


On Thu, 2012-09-06 at 09:19 +0200, Jean Delvare wrote:
> 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@xxxxxxxxxxxx>
> Cc: Vinod Koul <vinod.koul@xxxxxxxxx>
> Cc: Dan Williams <djbw@xxxxxx>
> ---
> I can't even build-test this.
>
> drivers/dma/ipu/ipu_irq.c | 1 -
> 1 file changed, 1 deletion(-)
>
> --- linux-3.6-rc4.orig/drivers/dma/ipu/ipu_irq.c 2012-08-04 21:49:26.000000000 +0200
> +++ linux-3.6-rc4/drivers/dma/ipu/ipu_irq.c 2012-09-06 09:13:31.034228670 +0200
> @@ -45,7 +45,6 @@ static void ipu_write_reg(struct ipu *ip
> struct ipu_irq_bank {
> unsigned int control;
> unsigned int status;
> - spinlock_t lock;
> struct ipu *ipu;
> };
>
Dan, you okay with this?



--
~Vinod

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/