mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] DMA: sudmac: fix compiler warning
@ 2013-08-02 13:23 Guennadi Liakhovetski
  0 siblings, 0 replies; only message in thread
From: Guennadi Liakhovetski @ 2013-08-02 13:23 UTC (permalink / raw)
  To: linux-sh; +Cc: Koul, Vinod, Magnus Damm, linux-kernel, Shimoda, Yoshihiro

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 <g.liakhovetski+renesas@gmail.com>
---
 drivers/dma/sh/sudmac.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/drivers/dma/sh/sudmac.c b/drivers/dma/sh/sudmac.c
index 2a8e3c2..4600b42 100644
--- a/drivers/dma/sh/sudmac.c
+++ b/drivers/dma/sh/sudmac.c
@@ -299,8 +299,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);
-- 
1.7.2.5


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-08-02 13:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-08-02 13:23 [PATCH] DMA: sudmac: fix compiler warning Guennadi Liakhovetski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®