diff options
author | Axel Lin <axel.lin@gmail.com> | 2011-09-30 22:05:55 +0400 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2011-09-30 22:05:55 +0400 |
commit | b8e111a74d281b70e88bd67fec48cfda4f9bdce2 (patch) | |
tree | e60075c72518b4c77d60e0aa756e454faf548c0d /Documentation/timers | |
parent | bfd46a543f8f90bb197225900e355ce3c7daeb1f (diff) | |
download | linux-b8e111a74d281b70e88bd67fec48cfda4f9bdce2.tar.xz |
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 'Documentation/timers')
0 files changed, 0 insertions, 0 deletions