diff mbox

[v2,2/2] dmaengine: fsldma: remove the unused variable

Message ID 1420713497-29212-2-git-send-email-haokexin@gmail.com (mailing list archive)
State Accepted
Headers show

Commit Message

Kevin Hao Jan. 8, 2015, 10:38 a.m. UTC
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>
---
v2: No change.

 drivers/dma/fsldma.c | 1 -
 1 file changed, 1 deletion(-)
diff mbox

Patch

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;