[U-Boot] [PATCH] net: link_local: fix build

Benoît Thébaudeau benoit.thebaudeau at advansee.com
Thu Jul 19 13:19:34 CEST 2012


Fix comment within comment build error.

Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau at advansee.com>
Cc: Joe Hershberger <joe.hershberger at gmail.com>
---
 .../net/link_local.c                               |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git u-boot-66714b1.orig/net/link_local.c u-boot-66714b1/net/link_local.c
index 8e7665f..d52f13a 100644
--- u-boot-66714b1.orig/net/link_local.c
+++ u-boot-66714b1/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),


More information about the U-Boot mailing list