summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_txp.c
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2014-12-22 02:28:53 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2014-12-22 02:28:53 +0000
commitc7aed26ec28e1a2a8728d1471296eb8e7cd14ba7 (patch)
tree8f98dae088f7f5ae2df3690677f1c271ac8c7a51 /sys/dev/pci/if_txp.c
parentf5060714df0f00e45a9c7091f8f8706f7225b547 (diff)
unifdef INET
Diffstat (limited to 'sys/dev/pci/if_txp.c')
-rw-r--r--sys/dev/pci/if_txp.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/dev/pci/if_txp.c b/sys/dev/pci/if_txp.c
index 2799380115a..73b95bd44a7 100644
--- a/sys/dev/pci/if_txp.c
+++ b/sys/dev/pci/if_txp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_txp.c,v 1.112 2014/12/06 23:20:17 krw Exp $ */
+/* $OpenBSD: if_txp.c,v 1.113 2014/12/22 02:28:52 tedu Exp $ */
/*
* Copyright (c) 2001
@@ -48,10 +48,8 @@
#include <net/if_dl.h>
#include <net/if_types.h>
-#ifdef INET
#include <netinet/in.h>
#include <netinet/if_ether.h>
-#endif
#include <net/if_media.h>
@@ -1182,12 +1180,10 @@ txp_ioctl(struct ifnet *ifp, u_long command, caddr_t data)
case SIOCSIFADDR:
ifp->if_flags |= IFF_UP;
switch (ifa->ifa_addr->sa_family) {
-#ifdef INET
case AF_INET:
txp_init(sc);
arp_ifinit(&sc->sc_arpcom, ifa);
break;
-#endif /* INET */
default:
txp_init(sc);
break;