From: benoit.thebaudeau@advans Date: Thu, 19 Jul 2012 01:19:34 +0000 (+0000) Subject: net: link_local: fix build X-Git-Tag: v2012.07-rc2~11^2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b6841157912b47a929e6ebc8d8385bef1cdb68fe;p=u-boot net: link_local: fix build Fix comment within comment build error. Signed-off-by: Benoît Thébaudeau Cc: Joe Hershberger --- 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),