From: Ladislav Michl <ladis@linux-mips.org>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] [PATCH] smc91111.c gcc-3.3.3 warning fix
Date: Wed, 16 Jun 2004 15:42:40 +0200 [thread overview]
Message-ID: <20040616134239.GA8269@umax645sx> (raw)
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
diff -u -p -r1.15 smc91111.c
--- drivers/smc91111.c 9 Jun 2004 14:47:55 -0000 1.15
+++ drivers/smc91111.c 16 Jun 2004 13:35:09 -0000
@@ -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 */
next reply other threads:[~2004-06-16 13:42 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-06-16 13:42 Ladislav Michl [this message]
2004-07-09 22:42 ` [U-Boot-Users] [PATCH] smc91111.c gcc-3.3.3 warning fix Wolfgang Denk
-- strict thread matches above, loose matches on Subject: below --
2004-06-16 15:05 Woodruff, Richard
2004-06-16 16:04 ` Ladislav Michl
2004-06-16 17:15 Woodruff, Richard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040616134239.GA8269@umax645sx \
--to=ladis@linux-mips.org \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox