Skip to content

Commit

Permalink
dmaengine: mxs-dma: fix unused variable warn
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
Vinod Koul committed Dec 22, 2014
1 parent a29c395 commit f67bcc4
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/dma/mxs-dma.c
Original file line number Diff line number Diff line change
Expand Up @@ -661,8 +661,6 @@ static struct dma_async_tx_descriptor *mxs_dma_prep_dma_cyclic(

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);

Expand Down

0 comments on commit f67bcc4

Please sign in to comment.