projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4545f4e
)
net: cosmetic: Rename tmp to reply_ip_addr in arp.c
author
Joe Hershberger
<
[email protected]
>
Wed, 23 May 2012 07:58:16 +0000
(07:58 +0000)
committer
Joe Hershberger
<
[email protected]
>
Wed, 23 May 2012 22:46:17 +0000
(17:46 -0500)
Renamed for clarity
Signed-off-by: Joe Hershberger <
[email protected]
>
Acked-by: Simon Glass <
[email protected]
>
net/arp.c
patch
|
blob
|
history
diff --git
a/net/arp.c
b/net/arp.c
index 5b16de7cededd64ad464a1fff0fc4ea045fa27eb..d36a642c5498b62066b40a2b52fca1fb4c08d0e4 100644
(file)
--- 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);