summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2007-07-05 18:01:27 +0200
committerSascha Hauer <sha@octopus.labnet.pengutronix.de>2007-07-05 18:01:27 +0200
commitaabb4586a415ea39b84dd0ddfa8b4eba2d09de5e (patch)
tree3ee3da76ec248be502f9f4ba566754bb0571f22c /net
parenta4529648b137971a80acc265145fda2e46c77151 (diff)
downloadbarebox-aabb4586a415ea39b84dd0ddfa8b4eba2d09de5e.tar.gz
barebox-aabb4586a415ea39b84dd0ddfa8b4eba2d09de5e.tar.xz
svn_rev_148
remove global data pointer
Diffstat (limited to 'net')
-rw-r--r--net/net.c3
1 files changed, 0 insertions, 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);