summaryrefslogtreecommitdiff
path: root/drivers/dma/fsldma.c
diff options
context:
space:
mode:
authorKevin Hao <haokexin@gmail.com>2015-01-08 18:38:17 +0800
committerVinod Koul <vinod.koul@intel.com>2015-01-13 23:58:08 +0530
commit0fdd244fe820c03b59ab1286db3d0b4a42c66e13 (patch)
tree385697658d093e6cd83115cee662e32d9057c81c /drivers/dma/fsldma.c
parent75dc1775ec83db305a68d153a7ac5eb4e8b634a0 (diff)
downloadlwn-0fdd244fe820c03b59ab1286db3d0b4a42c66e13.tar.gz
lwn-0fdd244fe820c03b59ab1286db3d0b4a42c66e13.zip
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 <haokexin@gmail.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/dma/fsldma.c')
-rw-r--r--drivers/dma/fsldma.c1
1 files changed, 0 insertions, 1 deletions
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;