projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c1c63a1
)
DMA: sudmac: fix compiler warning
author
Guennadi Liakhovetski
<g.liakhovetski@gmx.de>
Fri, 2 Aug 2013 13:23:01 +0000
(15:23 +0200)
committer
Vinod Koul
<vinod.koul@intel.com>
Tue, 27 Aug 2013 08:54:51 +0000
(14:24 +0530)
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>
drivers/dma/sh/sudmac.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/dma/sh/sudmac.c
b/drivers/dma/sh/sudmac.c
index 347790167e5990eafb8ac0f77145e05265aba813..4808b45141b4b65a1dfa933278f509ae781f11c1 100644
(file)
--- 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);