From 0d7c378e4eaec916ea85d2898364c65660f31e39 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Fri, 14 Nov 2014 18:51:57 -0600 Subject: [PATCH] Costmetic change --- net/arp/arp_send.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/arp/arp_send.c b/net/arp/arp_send.c index c7bbb92c88..2a7694d5df 100644 --- a/net/arp/arp_send.c +++ b/net/arp/arp_send.c @@ -229,6 +229,7 @@ int arp_send(in_addr_t ipaddr) goto errout; } +#ifdef CONFIG_NET_SLIP /* If this device does not require ARP bail out. ARP is only built of * CONFIG_NET_ETHERNET is enabled which always requires ARP support. The * following can happening only there multiple network interfaces enabled @@ -238,7 +239,6 @@ int arp_send(in_addr_t ipaddr) * REVISIT: This will need to be extended if PPP is ever incorporated. */ -#ifdef CONFIG_NET_SLIP if (dev->d_flags & IFF_NOARP) { return OK;