summaryrefslogtreecommitdiff
path: root/sys/dev/ic/lance.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/ic/lance.c')
-rw-r--r--sys/dev/ic/lance.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/dev/ic/lance.c b/sys/dev/ic/lance.c
index c959a8e2055..317e085b5f8 100644
--- a/sys/dev/ic/lance.c
+++ b/sys/dev/ic/lance.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: lance.c,v 1.4 2014/07/22 13:12:12 mpi Exp $ */
+/* $OpenBSD: lance.c,v 1.5 2014/12/22 02:28:51 tedu Exp $ */
/* $NetBSD: lance.c,v 1.46 2012/02/02 19:43:03 tls Exp $ */
/*-
@@ -80,10 +80,8 @@
#include <net/if.h>
#include <net/if_media.h>
-#ifdef INET
#include <netinet/in.h>
#include <netinet/if_ether.h>
-#endif
#if NBPFILTER > 0
#include <net/bpf.h>
@@ -530,10 +528,8 @@ lance_ioctl(struct ifnet *ifp, u_long cmd, caddr_t data)
ifp->if_flags |= IFF_UP;
if (!(ifp->if_flags & IFF_RUNNING))
lance_init(sc);
-#ifdef INET
if (ifa->ifa_addr->sa_family == AF_INET)
arp_ifinit(&sc->sc_arpcom, ifa);
-#endif
break;
case SIOCSIFFLAGS: