summaryrefslogtreecommitdiffstats
path: root/net/arp.h
diff options
context:
space:
mode:
authorJoe Hershberger <joe.hershberger@ni.com>2012-05-23 07:59:24 +0000
committerJoe Hershberger <joe.hershberger@ni.com>2012-05-23 17:53:07 -0500
commite94070c443bdc9c0231abeca920d9f9362701aec (patch)
tree070a846a4e5ec79753f6267ada3ac09c31ed1320 /net/arp.h
parentd7310c7e63ca9ffd42527dc9735cb505cbe908b7 (diff)
downloadtalos-obmc-uboot-e94070c443bdc9c0231abeca920d9f9362701aec.tar.gz
talos-obmc-uboot-e94070c443bdc9c0231abeca920d9f9362701aec.zip
net: Don't copy every packet that waits for an ARP
Use the NetArpTxPacket for the ARP packet, not to hold what used to be in NetTxPacket. This saves a copy and makes the code easier to understand. Signed-off-by: Joe Hershberger <joe.hershberger@ni.com> Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'net/arp.h')
-rw-r--r--net/arp.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/net/arp.h b/net/arp.h
index b7a1ac97d4..956fc5e570 100644
--- a/net/arp.h
+++ b/net/arp.h
@@ -16,8 +16,6 @@
extern IPaddr_t NetArpWaitPacketIP;
/* MAC address of waiting packet's destination */
extern uchar *NetArpWaitPacketMAC;
-/* THE transmit packet */
-extern uchar *NetArpWaitTxPacket;
extern int NetArpWaitTxPacketSize;
extern ulong NetArpWaitTimerStart;
extern int NetArpWaitTry;
OpenPOWER on IntegriCloud