Skip to content

Commit cc6b0f0

Browse files
lyakhVinod Koul
authored andcommitted
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: Guennadi Liakhovetski <[email protected]> Signed-off-by: Vinod Koul <[email protected]>
1 parent c1c63a1 commit cc6b0f0

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

drivers/dma/sh/sudmac.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -298,8 +298,6 @@ static void sudmac_chan_remove(struct sudmac_device *su_dev)
298298
int i;
299299

300300
shdma_for_each_chan(schan, &su_dev->shdma_dev, i) {
301-
struct sudmac_chan *sc = to_chan(schan);
302-
303301
BUG_ON(!schan);
304302

305303
shdma_chan_remove(schan);

0 commit comments

Comments
 (0)