smc91111.c gcc-3.3.3 warning fix
PATCH 1/1 smc91111.c gcc-3.3.3 warning fix
Hi, really trivial fix...
smc91111.c: In function `smc_phy_configure':
smc91111.c:1419: warning: deprecated use of label at end of compound statement
Index: drivers/smc91111.c
===================================================================
RCS file: /cvsroot/u-boot/u-boot/drivers/smc91111.c,v retrieving revision 1.15
smc91111.c +1 -4
@@ -1322,7 +1322,7 @@ static void smc_phy_configure ()if (timeout <1 ) {printf ("%s:PHY reset timed out\n" ,SMC_DEV_NAME ); - goto smc_phy_configure_exit; +return ; }/* Read PHY Register 18, Status Output */
@@ -1413,9 +1413,6 @@ static void smc_phy_configure ()/* Re-Configure the Receive/Phy Control register */ SMC_outw (RPC_DEFAULT, RPC_REG); - - smc_phy_configure_exit: - }#endif /* !CONFIG_SMC91111_EXT_PHY */
PATCH 1/1 smc91111.c gcc-3.3.3 warning fix
Quoted 4 lines · In message <20040616134239.GA8269@umax645sx> you wrote:
Hi, really trivial fix...
smc91111.c: In function `smc_phy_configure':
smc91111.c:1419: warning: deprecated use of label at end of compound statement
Fixed (but keeping the label).
Thanks for pointing out.
Best regards,
Wolfgang Denk
Signature · 5 lines
Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd at denx.de You are an excellent tactician, Captain. You let your second in com- mand attack while you sit and watch for weakness. -- Khan Noonian Singh, "Space Seed", stardate 3141.9