Эх сурвалжийг харах

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>
Markus Elfring 8 жил өмнө
parent
commit
2abe5b343d

+ 0 - 1
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)