From: Axel Lin Date: Fri, 30 Sep 2011 18:05:55 +0000 (-0700) Subject: ARM: OMAP: musb: Remove a redundant omap4430_phy_init call in usb_musb_init X-Git-Tag: v3.1-rc10~13^2^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b8e111a74d281b70e88bd67fec48cfda4f9bdce2;p=pandora-kernel.git 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 Bjarne Steinsbo Acked-by: Felipe Balbi Signed-off-by: Tony Lindgren --- Reading git-diff-tree failed