From: Markus Elfring Date: Thu, 1 Jun 2017 20:00:21 +0000 (+0200) Subject: ARM: OMAP1: DMA: Delete an unnecessary return statement in omap1_show_dma_caps() X-Git-Tag: v4.13-rc1~169^2~14^2~2 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=2abe5b343dc790cc577700b07ca8d10fed62ae0e;p=karo-tx-linux.git 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 Signed-off-by: Tony Lindgren --- 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)