提交 d9ecbef3 编写于 作者: M Markus Elfring 提交者: Tony Lindgren

ARM: OMAP3: Delete an unnecessary variable initialisation in omap3xxx_hwmod_init()

The local variable "bus" will eventually be set to an appropriate pointer
a bit later. Thus omit the explicit initialisation at the beginning.
Signed-off-by: NMarkus Elfring <elfring@users.sourceforge.net>
Signed-off-by: NTony Lindgren <tony@atomide.com>
上级 f33aadd2
...@@ -3148,7 +3148,7 @@ int __init omap3xxx_hwmod_init(void) ...@@ -3148,7 +3148,7 @@ int __init omap3xxx_hwmod_init(void)
int r; int r;
struct omap_hwmod_ocp_if **h = NULL, **h_gp = NULL, **h_sham = NULL; struct omap_hwmod_ocp_if **h = NULL, **h_gp = NULL, **h_sham = NULL;
struct omap_hwmod_ocp_if **h_aes = NULL; struct omap_hwmod_ocp_if **h_aes = NULL;
struct device_node *bus = NULL; struct device_node *bus;
unsigned int rev; unsigned int rev;
omap_hwmod_init(); omap_hwmod_init();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册