summaryrefslogtreecommitdiffstats
path: root/commands/net.c
diff options
context:
space:
mode:
Diffstat (limited to 'commands/net.c')
-rw-r--r--commands/net.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/commands/net.c b/commands/net.c
index 08eecb40d6..4bdccd3784 100644
--- a/commands/net.c
+++ b/commands/net.c
@@ -75,19 +75,6 @@ void netboot_update_env(void)
#endif
if (NetOurNISDomain[0])
setenv ("domain", NetOurNISDomain);
-
-#if defined CONFIG_NET_SNTP && defined CONFIG_BOOTP_TIMEOFFSET
- if (NetTimeOffset) {
- sprintf (tmp, "%d", NetTimeOffset);
- setenv ("timeoffset", tmp);
- }
-#endif
-#if defined CONFIG_NET_SNTP && defined CONFIG_BOOTP_NTPSERVER
- if (NetNtpServerIP) {
- ip_to_string (NetNtpServerIP, tmp);
- setenv ("ntpserverip", tmp);
- }
-#endif
}
static int do_tftpb (cmd_tbl_t *cmdtp, int argc, char *argv[])