From: Kevin Hao Date: Thu, 8 Jan 2015 10:38:17 +0000 (+0800) Subject: dmaengine: fsldma: remove the unused variable X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=0fdd244fe820c03b59ab1286db3d0b4a42c66e13;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git dmaengine: fsldma: remove the unused variable Fix the following build warning: drivers/dma/fsldma.c: In function 'fsl_dma_device_terminate_all': drivers/dma/fsldma.c:947:6: warning: unused variable 'size' [-Wunused-variable] Signed-off-by: Kevin Hao Signed-off-by: Vinod Koul --- diff --git a/drivers/dma/fsldma.c b/drivers/dma/fsldma.c index 6856c8a916ab..300f821f1890 100644 --- a/drivers/dma/fsldma.c +++ b/drivers/dma/fsldma.c @@ -944,7 +944,6 @@ fail: static int fsl_dma_device_terminate_all(struct dma_chan *dchan) { struct fsldma_chan *chan; - int size; if (!dchan) return -EINVAL;