diff mbox

[U-Boot] net: link_local: fix build

Message ID 828519589.262830.1342696774662.JavaMail.root@advansee.com
State Accepted
Commit b6841157912b47a929e6ebc8d8385bef1cdb68fe
Delegated to: Joe Hershberger
Headers show

Commit Message

Benoît Thébaudeau July 19, 2012, 11:19 a.m. UTC
Fix comment within comment build error.

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

Comments

Joe Hershberger July 19, 2012, 5:54 p.m. UTC | #1
Hi Benoît,

On Thu, Jul 19, 2012 at 6:19 AM, Benoît Thébaudeau
<benoit.thebaudeau@advansee.com> wrote:
> Fix comment within comment build error.
>
> Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com>
> Cc: Joe Hershberger <joe.hershberger@gmail.com>
> ---

Applied, thanks.

-Joe
diff mbox

Patch

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),