diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2008-03-31 21:52:09 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2008-03-31 21:52:09 +0200 |
commit | 80e05021c730466503c86cbe1700cf6331008f6e (patch) | |
tree | 8eff04f22dcc3e446cf0d820a268747247af5af8 /net/ping.c | |
parent | 612e256be2641fcee785a9644b2597db9dd48fd7 (diff) | |
download | barebox-80e05021c730466503c86cbe1700cf6331008f6e.tar.gz barebox-80e05021c730466503c86cbe1700cf6331008f6e.tar.xz |
ping.c: remove volatile from variables
Diffstat (limited to 'net/ping.c')
-rw-r--r-- | net/ping.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/net/ping.c b/net/ping.c index c4f83d55a6..4d61532b1e 100644 --- a/net/ping.c +++ b/net/ping.c @@ -5,11 +5,11 @@ static ushort PingSeqNo; -int PingSend(void) +static int PingSend(void) { static uchar mac[6]; - volatile IP_t *ip; - volatile ushort *s; + IP_t *ip; + ushort *s; uchar *pkt; /* XXX always send arp request */ @@ -26,7 +26,7 @@ int PingSend(void) pkt = NetArpWaitTxPacket; pkt += NetSetEther(pkt, mac, PROT_IP); - ip = (volatile IP_t *)pkt; + ip = (IP_t *)pkt; /* * Construct an IP and ICMP header. (need to set no fragment bit - XXX) |