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>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user