summaryrefslogtreecommitdiff
path: root/net/net.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-11-03 11:35:42 -0500
committerBen Warren <biggerbadderben@gmail.com>2009-12-13 21:31:26 -0800
commit6ac59c5518e1d2e2ef1c4b8dee99267dfbdf9cdc (patch)
treef238a4a01f6612b4c7f23a460f196c4a90d41f87 /net/net.c
parent4b142febff71eabdb7ddbb125c7b583b24ddc434 (diff)
net: pull CONFIG checks out of source and into makefile
Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
Diffstat (limited to 'net/net.c')
-rw-r--r--net/net.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/net/net.c b/net/net.c
index fd13cd93f44..595abd92236 100644
--- a/net/net.c
+++ b/net/net.c
@@ -96,8 +96,6 @@
#include "dns.h"
#endif
-#if defined(CONFIG_CMD_NET)
-
DECLARE_GLOBAL_DATA_PTR;
#ifndef CONFIG_ARP_TIMEOUT
@@ -1872,8 +1870,6 @@ void copy_filename (char *dst, char *src, int size)
*dst = '\0';
}
-#endif
-
#if defined(CONFIG_CMD_NFS) || defined(CONFIG_CMD_SNTP) || defined(CONFIG_CMD_DNS)
/*
* make port a little random, but use something trivial to compute