From aabb4586a415ea39b84dd0ddfa8b4eba2d09de5e Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Thu, 5 Jul 2007 18:01:27 +0200 Subject: svn_rev_148 remove global data pointer --- net/net.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/net/net.c b/net/net.c index 18e65fe77f..ee2c00a737 100644 --- a/net/net.c +++ b/net/net.c @@ -91,8 +91,6 @@ #include "sntp.h" #endif -DECLARE_GLOBAL_DATA_PTR; - #define ARP_TIMEOUT (5 * SECOND) /* Seconds before trying ARP again */ #ifndef CONFIG_NET_RETRY_COUNT # define ARP_TIMEOUT_COUNT 5 /* # of timeouts before giving up */ @@ -256,7 +254,6 @@ int NetLoop(proto_t protocol) { IPaddr_t ip; - bd_t *bd = gd->bd; ip = getenv_IPaddr ("ipaddr"); NetCopyIP(&NetOurIP, &ip); -- cgit v1.2.3