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 <[email protected]>
Signed-off-by: Vinod Koul <[email protected]>
This commit is contained in:
Kevin Hao 2015-01-08 18:38:17 +08:00 • committed by Vinod Koul
commit 0fdd244fe8

View file

@ -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;