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

Commit cc6b0f02 authored by Guennadi Liakhovetski's avatar Guennadi Liakhovetski Committed by Vinod Koul
Browse files

DMA: sudmac: fix compiler warning



Fix the following compiler warning:

drivers/dma/sh/sudmac.c: In function 'sudmac_chan_remove':
drivers/dma/sh/sudmac.c:302: warning: unused variable 'sc'

Signed-off-by: default avatarGuennadi Liakhovetski <g.liakhovetski+renesas@gmail.com>
Signed-off-by: default avatarVinod Koul <vinod.koul@intel.com>
parent c1c63a14
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -298,8 +298,6 @@ static void sudmac_chan_remove(struct sudmac_device *su_dev)
	int i;

	shdma_for_each_chan(schan, &su_dev->shdma_dev, i) {
		struct sudmac_chan *sc = to_chan(schan);

		BUG_ON(!schan);

		shdma_chan_remove(schan);