Commit 2abe5b34 authored by Markus Elfring's avatar Markus Elfring Committed by Tony Lindgren

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: default avatarMarkus Elfring <elfring@users.sourceforge.net>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 61ee221e
...@@ -240,7 +240,6 @@ static void omap1_show_dma_caps(void) ...@@ -240,7 +240,6 @@ static void omap1_show_dma_caps(void)
w |= 1 << 3; w |= 1 << 3;
dma_write(w, GSCR, 0); dma_write(w, GSCR, 0);
} }
return;
} }
static unsigned configure_dma_errata(void) static unsigned configure_dma_errata(void)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment