Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f67bcc40 authored by Vinod Koul's avatar Vinod Koul
Browse files

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: default avatarVinod Koul <vinod.koul@intel.com>
parent a29c3956
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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);