projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
61ee221
)
ARM: OMAP1: DMA: Delete an unnecessary return statement in omap1_show_dma_caps()
author
Markus Elfring
<elfring@users.sourceforge.net>
Thu, 1 Jun 2017 20:00:21 +0000
(22:00 +0200)
committer
Tony Lindgren
<tony@atomide.com>
Wed, 7 Jun 2017 06:54:00 +0000
(23:54 -0700)
The script "checkpatch.pl" pointed information out like the following.
WARNING: void function return statements are not generally useful
Thus remove such a statement in the affected function.
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap1/dma.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/arm/mach-omap1/dma.c
b/arch/arm/mach-omap1/dma.c
index c545b4e01d53ad1439e585ea064f262a32269315..52d7eda1adec5603c7f9201488d49b91e9b92550 100644
(file)
--- a/
arch/arm/mach-omap1/dma.c
+++ b/
arch/arm/mach-omap1/dma.c
@@
-240,7
+240,6
@@
static void omap1_show_dma_caps(void)
w |= 1 << 3;
dma_write(w, GSCR, 0);
}
- return;
}
static unsigned configure_dma_errata(void)