summaryrefslogtreecommitdiff
path: root/arch/arm/mach-omap1
diff options
context:
space:
mode:
authorMarkus Elfring <elfring@users.sourceforge.net>2017-06-01 23:00:21 +0300
committerTony Lindgren <tony@atomide.com>2017-06-07 09:54:00 +0300
commit2abe5b343dc790cc577700b07ca8d10fed62ae0e (patch)
treebab558eb1e7789e39562bdfd34f01b836faf292c /arch/arm/mach-omap1
parent61ee221ee45bc10d9115ba6ce8862ee62289a98f (diff)
downloadlinux-2abe5b343dc790cc577700b07ca8d10fed62ae0e.tar.xz
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>
Diffstat (limited to 'arch/arm/mach-omap1')
-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)
w |= 1 << 3;
dma_write(w, GSCR, 0);
}
- return;
}
static unsigned configure_dma_errata(void)