提交 2abe5b34 编写于 作者: M Markus Elfring 提交者: 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: NMarkus Elfring <elfring@users.sourceforge.net>
Signed-off-by: NTony Lindgren <tony@atomide.com>
上级 61ee221e
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册