dmaengine: mxs-dma: fix unused variable warn
authorVinod Koul <vinod.koul@intel.com>
Mon, 8 Dec 2014 05:55:50 +0000 (11:25 +0530)
committerVinod Koul <vinod.koul@intel.com>
Mon, 22 Dec 2014 07:04:23 +0000 (12:34 +0530)
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>
drivers/dma/mxs-dma.c

index bf286aa6b227efc9ea39d3b565e658249a58cede..599ffb5b78483614096a13c6ee1adbdbcb8c5e10 100644 (file)
@@ -661,8 +661,6 @@ err_out:
 
 static int mxs_dma_terminate_all(struct dma_chan *chan)
 {
-       struct mxs_dma_chan *mxs_chan = to_mxs_dma_chan(chan);
-
        mxs_dma_reset_chan(chan);
        mxs_dma_disable_chan(chan);