aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Elfring <elfring@users.sourceforge.net>2017-06-01 16:00:21 -0400
committerTony Lindgren <tony@atomide.com>2017-06-07 02:54:00 -0400
commit2abe5b343dc790cc577700b07ca8d10fed62ae0e (patch)
treebab558eb1e7789e39562bdfd34f01b836faf292c
parent61ee221ee45bc10d9115ba6ce8862ee62289a98f (diff)
ARM: OMAP1: DMA: Delete an unnecessary return statement in omap1_show_dma_caps()
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>
-rw-r--r--arch/arm/mach-omap1/dma.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/arm/mach-omap1/dma.c b/arch/arm/mach-omap1/dma.c
index c545b4e01d53..52d7eda1adec 100644
--- 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)
240 w |= 1 << 3; 240 w |= 1 << 3;
241 dma_write(w, GSCR, 0); 241 dma_write(w, GSCR, 0);
242 } 242 }
243 return;
244} 243}
245 244
246static unsigned configure_dma_errata(void) 245static unsigned configure_dma_errata(void)