diff options
author | Vinod Koul <vinod.koul@intel.com> | 2014-12-08 00:55:50 -0500 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2014-12-22 02:04:23 -0500 |
commit | f67bcc404249ed3fdedec250b24c705564802f21 (patch) | |
tree | d8872a9344c67934e9269c98f95ceba422cf0c25 /drivers/dma | |
parent | a29c3956369b0a993fc41d4ec29289587bd16249 (diff) |
dmaengine: mxs-dma: fix unused variable warn
drivers/dma/mxs-dma.c: In function 'mxs_dma_terminate_all':
drivers/dma/mxs-dma.c:662:23: warning: unused variable 'mxs_chan'[-Wunused-variable]
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/dma')
-rw-r--r-- | drivers/dma/mxs-dma.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/dma/mxs-dma.c b/drivers/dma/mxs-dma.c index bf286aa6b227..599ffb5b7848 100644 --- a/drivers/dma/mxs-dma.c +++ b/drivers/dma/mxs-dma.c | |||
@@ -661,8 +661,6 @@ err_out: | |||
661 | 661 | ||
662 | static int mxs_dma_terminate_all(struct dma_chan *chan) | 662 | static int mxs_dma_terminate_all(struct dma_chan *chan) |
663 | { | 663 | { |
664 | struct mxs_dma_chan *mxs_chan = to_mxs_dma_chan(chan); | ||
665 | |||
666 | mxs_dma_reset_chan(chan); | 664 | mxs_dma_reset_chan(chan); |
667 | mxs_dma_disable_chan(chan); | 665 | mxs_dma_disable_chan(chan); |
668 | 666 | ||