summaryrefslogtreecommitdiff
path: root/drivers/dma
diff options
context:
space:
mode:
authorKevin Hao <haokexin@gmail.com>2015-01-08 13:38:17 +0300
committerVinod Koul <vinod.koul@intel.com>2015-01-13 21:28:08 +0300
commit0fdd244fe820c03b59ab1286db3d0b4a42c66e13 (patch)
tree385697658d093e6cd83115cee662e32d9057c81c /drivers/dma
parent75dc1775ec83db305a68d153a7ac5eb4e8b634a0 (diff)
downloadlinux-0fdd244fe820c03b59ab1286db3d0b4a42c66e13.tar.xz
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')
-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;