diff options
author | Kevin Hao <haokexin@gmail.com> | 2015-01-08 13:38:17 +0300 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2015-01-13 21:28:08 +0300 |
commit | 0fdd244fe820c03b59ab1286db3d0b4a42c66e13 (patch) | |
tree | 385697658d093e6cd83115cee662e32d9057c81c /drivers/dma | |
parent | 75dc1775ec83db305a68d153a7ac5eb4e8b634a0 (diff) | |
download | linux-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.c | 1 |
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; |