Skip to content

Commit

Permalink
dmaengine: fsldma: remove the unused variable
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Kevin Hao authored and Vinod Koul committed Jan 13, 2015
1 parent 75dc177 commit 0fdd244
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/dma/fsldma.c
Original file line number Diff line number Diff line change
Expand Up @@ -944,7 +944,6 @@ static struct dma_async_tx_descriptor *fsl_dma_prep_sg(struct dma_chan *dchan,
static int fsl_dma_device_terminate_all(struct dma_chan *dchan)
{
struct fsldma_chan *chan;
int size;

if (!dchan)
return -EINVAL;
Expand Down

0 comments on commit 0fdd244

Please sign in to comment.