summaryrefslogtreecommitdiff
path: root/nuttx
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-11-14 18:51:57 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-11-14 18:51:57 -0600
commit3de9acf7e0a59068732afcb13ea442080759eeba (patch)
treef6ffc5f3269a40490f9ce02001cd897a217f42e4 /nuttx
parentdbe0c90dc30b2759b0d3f734e3c63a155cbadec9 (diff)
downloadpx4-nuttx-3de9acf7e0a59068732afcb13ea442080759eeba.tar.gz
px4-nuttx-3de9acf7e0a59068732afcb13ea442080759eeba.tar.bz2
px4-nuttx-3de9acf7e0a59068732afcb13ea442080759eeba.zip
Costmetic change
Diffstat (limited to 'nuttx')
-rw-r--r--nuttx/net/arp/arp_send.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/net/arp/arp_send.c b/nuttx/net/arp/arp_send.c
index c7bbb92c8..2a7694d5d 100644
--- a/nuttx/net/arp/arp_send.c
+++ b/nuttx/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;