dmaengine: fsldma: remove the unused variable
authorKevin Hao <haokexin@gmail.com>
Thu, 8 Jan 2015 10:38:17 +0000 (18:38 +0800)
committerVinod Koul <vinod.koul@intel.com>
Tue, 13 Jan 2015 18:28:08 +0000 (23:58 +0530)
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>
drivers/dma/fsldma.c

index 6856c8a916abf149da807eb909bf43ae08dc647a..300f821f1890ecdbfba062ceb8c03c780efaaff6 100644 (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;