]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
net: link_local: fix build
authorbenoit.thebaudeau@advans <benoit.thebaudeau@advans>
Thu, 19 Jul 2012 01:19:34 +0000 (01:19 +0000)
committerJoe Hershberger <joe.hershberger@ni.com>
Thu, 19 Jul 2012 18:11:31 +0000 (13:11 -0500)
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

index 8e7665f09073588dfde0e136bf38d4c71227c87c..d52f13adb45deca75d52cabaaecc592963b2ca5f 100644 (file)
@@ -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),