* [U-Boot] [PATCH] netloop: cleanups
@ 2009-02-25 12:40 Heiko Schocher
2009-02-25 17:02 ` Mike Frysinger
0 siblings, 1 reply; 2+ messages in thread
From: Heiko Schocher @ 2009-02-25 12:40 UTC (permalink / raw)
To: u-boot
suggested from Mike Frysinger:
- in NetInitLoop() in BOOTP/RARP case, only read once the
"vlan" and "nvlan" environment vars.
- deleted unnecessary PING, SNTP cases
Signed-off-by: Heiko Schocher <hs@denx.de>
---
net/net.c | 12 ------------
1 files changed, 0 insertions(+), 12 deletions(-)
diff --git a/net/net.c b/net/net.c
index a80c814..b514538 100644
--- a/net/net.c
+++ b/net/net.c
@@ -313,16 +313,6 @@ NetInitLoop(proto_t protocol)
case TFTP:
NetServerIP = getenv_IPaddr ("serverip");
break;
-#if defined(CONFIG_CMD_PING)
- case PING:
- /* nothing */
- break;
-#endif
-#if defined(CONFIG_CMD_SNTP)
- case SNTP:
- /* nothing */
- break;
-#endif
default:
break;
}
@@ -336,8 +326,6 @@ NetInitLoop(proto_t protocol)
*/
NetOurIP = 0;
NetServerIP = getenv_IPaddr ("serverip");
- NetOurVLAN = getenv_VLAN("vlan"); /* VLANs must be read */
- NetOurNativeVLAN = getenv_VLAN("nvlan");
case CDP:
NetOurVLAN = getenv_VLAN("vlan"); /* VLANs must be read */
NetOurNativeVLAN = getenv_VLAN("nvlan");
--
1.6.0.6
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [U-Boot] [PATCH] netloop: cleanups
2009-02-25 12:40 [U-Boot] [PATCH] netloop: cleanups Heiko Schocher
@ 2009-02-25 17:02 ` Mike Frysinger
0 siblings, 0 replies; 2+ messages in thread
From: Mike Frysinger @ 2009-02-25 17:02 UTC (permalink / raw)
To: u-boot
On Wednesday 25 February 2009 07:40:59 Heiko Schocher wrote:
> suggested from Mike Frysinger:
> - in NetInitLoop() in BOOTP/RARP case, only read once the
> "vlan" and "nvlan" environment vars.
> - deleted unnecessary PING, SNTP cases
>
> Signed-off-by: Heiko Schocher <hs@denx.de>
Acked-by: Mike Frysinger <vapier@gentoo.org>
thanks!
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20090225/50aacab1/attachment.pgp
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-02-25 17:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-25 12:40 [U-Boot] [PATCH] netloop: cleanups Heiko Schocher
2009-02-25 17:02 ` Mike Frysinger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox