Skip to content

Commit

Permalink
ARM: OMAP3: Delete an unnecessary variable initialisation in omap3xxx…
Browse files Browse the repository at this point in the history
…_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: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Tony Lindgren <tony@atomide.com>
  • Loading branch information
Markus Elfring authored and Tony Lindgren committed Oct 25, 2017
1 parent f33aadd commit d9ecbef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/mach-omap2/omap_hwmod_3xxx_data.c
Original file line number Diff line number Diff line change
Expand Up @@ -3148,7 +3148,7 @@ int __init omap3xxx_hwmod_init(void)
int r;
struct omap_hwmod_ocp_if **h = NULL, **h_gp = NULL, **h_sham = NULL;
struct omap_hwmod_ocp_if **h_aes = NULL;
struct device_node *bus = NULL;
struct device_node *bus;
unsigned int rev;

omap_hwmod_init();
Expand Down

0 comments on commit d9ecbef

Please sign in to comment.