summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorbenoit.thebaudeau@advans <benoit.thebaudeau@advans>2012-07-19 01:19:34 +0000
committerJoe Hershberger <joe.hershberger@ni.com>2012-07-19 13:11:31 -0500
commitb6841157912b47a929e6ebc8d8385bef1cdb68fe (patch)
tree6720eda1732f4326e5590dd035be46a7d8e82e14 /net
parentb977aa80b5e4d9dc6ea447e6a82dfd1492baf889 (diff)
downloadu-boot-b6841157912b47a929e6ebc8d8385bef1cdb68fe.tar.gz
u-boot-b6841157912b47a929e6ebc8d8385bef1cdb68fe.tar.xz
u-boot-b6841157912b47a929e6ebc8d8385bef1cdb68fe.zip
net: link_local: fix build
Fix comment within comment build error. Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com> Cc: Joe Hershberger <joe.hershberger@gmail.com>
Diffstat (limited to 'net')
-rw-r--r--net/link_local.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/link_local.c b/net/link_local.c
index 8e7665f090..d52f13adb4 100644
--- a/net/link_local.c
+++ b/net/link_local.c
@@ -225,8 +225,8 @@ void link_local_receive_arp(struct arp_hdr *arp, int len)
timeout_ms = diff | 1; /* never 0 */
}
}
-/*
- * XXX Don't bother with ethernet link just yet
+#if 0
+ /* XXX Don't bother with ethernet link just yet */
if ((fds[0].revents & POLLIN) == 0) {
if (fds[0].revents & POLLERR) {
/*
@@ -240,7 +240,7 @@ void link_local_receive_arp(struct arp_hdr *arp, int len)
}
continue;
}
-*/
+#endif
debug_cond(DEBUG_INT_STATE, "%s recv arp type=%d, op=%d,\n",
eth_get_name(), ntohs(arp->ar_pro),