summaryrefslogtreecommitdiff
path: root/net/arp.c
diff options
context:
space:
mode:
authorJoe Hershberger <joe.hershberger@ni.com>2012-05-23 07:58:16 +0000
committerJoe Hershberger <joe.hershberger@ni.com>2012-05-23 17:46:17 -0500
commit1256793b1862dcd1a6e5ee51e155c2e214b06594 (patch)
treeaf93d4a44b6548d2b29c131488d5fcf075d2407d /net/arp.c
parent4545f4e6dbcf4ed6399e1279ddbfe18b368db2aa (diff)
net: cosmetic: Rename tmp to reply_ip_addr in arp.c
Renamed for clarity Signed-off-by: Joe Hershberger <joe.hershberger@ni.com> Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'net/arp.c')
-rw-r--r--net/arp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/arp.c b/net/arp.c
index 5b16de7ced..d36a642c54 100644
--- a/net/arp.c
+++ b/net/arp.c
@@ -116,7 +116,7 @@ void ArpTimeoutCheck(void)
void ArpReceive(struct ethernet_hdr *et, struct ip_udp_hdr *ip, int len)
{
struct arp_hdr *arp;
- IPaddr_t tmp;
+ IPaddr_t reply_ip_addr;
uchar *pkt;
/*
@@ -178,10 +178,10 @@ void ArpReceive(struct ethernet_hdr *et, struct ip_udp_hdr *ip, int len)
}
#endif
- tmp = NetReadIP(&arp->ar_data[6]);
+ reply_ip_addr = NetReadIP(&arp->ar_data[6]);
/* matched waiting packet's address */
- if (tmp == NetArpWaitReplyIP) {
+ if (reply_ip_addr == NetArpWaitReplyIP) {
debug("Got ARP REPLY, set eth addr (%pM)\n",
arp->ar_data);