summaryrefslogtreecommitdiffstats
path: root/drivers/dma
diff options
context:
space:
mode:
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>2013-08-02 15:23:01 +0200
committerVinod Koul <vinod.koul@intel.com>2013-08-27 10:54:51 +0200
commitcc6b0f023875a67f0c2ca7211fe6859d60b14852 (patch)
treea061a0b9fbd171a8cb7d9e6aa2a792f9629a0020 /drivers/dma
parentDMA: shdma: switch to managed resource allocation (diff)
downloadlinux-cc6b0f023875a67f0c2ca7211fe6859d60b14852.tar.xz
linux-cc6b0f023875a67f0c2ca7211fe6859d60b14852.zip
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 <g.liakhovetski+renesas@gmail.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/dma')
-rw-r--r--drivers/dma/sh/sudmac.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/dma/sh/sudmac.c b/drivers/dma/sh/sudmac.c
index 347790167e59..4808b45141b4 100644
--- a/drivers/dma/sh/sudmac.c
+++ b/drivers/dma/sh/sudmac.c
@@ -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);