diff options
author | Ted Unangst <tedu@cvs.openbsd.org> | 2014-12-22 02:28:53 +0000 |
---|---|---|
committer | Ted Unangst <tedu@cvs.openbsd.org> | 2014-12-22 02:28:53 +0000 |
commit | c7aed26ec28e1a2a8728d1471296eb8e7cd14ba7 (patch) | |
tree | 8f98dae088f7f5ae2df3690677f1c271ac8c7a51 /sys/dev/pci/if_sk.c | |
parent | f5060714df0f00e45a9c7091f8f8706f7225b547 (diff) |
unifdef INET
Diffstat (limited to 'sys/dev/pci/if_sk.c')
-rw-r--r-- | sys/dev/pci/if_sk.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/dev/pci/if_sk.c b/sys/dev/pci/if_sk.c index 1523f0019b0..0eaa685df16 100644 --- a/sys/dev/pci/if_sk.c +++ b/sys/dev/pci/if_sk.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_sk.c,v 1.172 2014/08/20 03:29:35 dlg Exp $ */ +/* $OpenBSD: if_sk.c,v 1.173 2014/12/22 02:28:52 tedu Exp $ */ /* * Copyright (c) 1997, 1998, 1999, 2000 @@ -103,10 +103,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> #include <net/if_vlan_var.h> @@ -701,10 +699,8 @@ sk_ioctl(struct ifnet *ifp, u_long command, caddr_t data) ifp->if_flags |= IFF_UP; if (!(ifp->if_flags & IFF_RUNNING)) sk_init(sc_if); -#ifdef INET if (ifa->ifa_addr->sa_family == AF_INET) arp_ifinit(&sc_if->arpcom, ifa); -#endif break; case SIOCSIFFLAGS: |