diff options
author | Axel Lin <axel.lin@gmail.com> | 2011-09-30 11:05:55 -0700 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2011-09-30 11:05:55 -0700 |
commit | b8e111a74d281b70e88bd67fec48cfda4f9bdce2 (patch) | |
tree | e60075c72518b4c77d60e0aa756e454faf548c0d /arch/arm/mach-omap2/cm44xx.c | |
parent | bfd46a543f8f90bb197225900e355ce3c7daeb1f (diff) |
ARM: OMAP: musb: Remove a redundant omap4430_phy_init call in usb_musb_init
Current code calls omap4430_phy_init() twice in usb_musb_init().
Calling omap4430_phy_init() once is enough.
This patch removes the first omap4430_phy_init() call, which using an
uninitialized pointer as parameter.
This patch elimates below build warning:
arch/arm/mach-omap2/usb-musb.c: In function 'usb_musb_init':
arch/arm/mach-omap2/usb-musb.c:141: warning: 'dev' may be used uninitialized in this function
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Bjarne Steinsbo <bsteinsbo@gmail.com>
Acked-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/cm44xx.c')
0 files changed, 0 insertions, 0 deletions