summaryrefslogtreecommitdiffstats
path: root/sys/dev/isa/if_ex.c
diff options
context:
space:
mode:
authormpi <mpi@openbsd.org>2015-10-25 13:13:06 +0000
committermpi <mpi@openbsd.org>2015-10-25 13:13:06 +0000
commitb4d012a8c3c440d09f42eef3c7934d8070637386 (patch)
tree4b460ee25f8ea709655a3b6bd366d0c1d7f2b18f /sys/dev/isa/if_ex.c
parentzap trailing whitespace; (diff)
downloadwireguard-openbsd-b4d012a8c3c440d09f42eef3c7934d8070637386.tar.xz
wireguard-openbsd-b4d012a8c3c440d09f42eef3c7934d8070637386.zip
arp_ifinit() is no longer needed and almost dead.
Diffstat (limited to 'sys/dev/isa/if_ex.c')
-rw-r--r--sys/dev/isa/if_ex.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/dev/isa/if_ex.c b/sys/dev/isa/if_ex.c
index 9ad0cec6bf0..7c2d29a43f2 100644
--- a/sys/dev/isa/if_ex.c
+++ b/sys/dev/isa/if_ex.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_ex.c,v 1.40 2015/09/11 13:02:28 stsp Exp $ */
+/* $OpenBSD: if_ex.c,v 1.41 2015/10/25 13:13:06 mpi Exp $ */
/*
* Copyright (c) 1997, Donald A. Schmidt
* Copyright (c) 1996, Javier Martín Rueda (jmrueda@diatel.upm.es)
@@ -731,7 +731,6 @@ int
ex_ioctl(struct ifnet *ifp, u_long cmd, caddr_t data)
{
struct ex_softc *sc = ifp->if_softc;
- struct ifaddr *ifa = (struct ifaddr *) data;
struct ifreq *ifr = (struct ifreq *) data;
int s, error = 0;
@@ -745,8 +744,6 @@ ex_ioctl(struct ifnet *ifp, u_long cmd, caddr_t data)
ifp->if_flags |= IFF_UP;
if (!(ifp->if_flags & IFF_RUNNING))
ex_init(sc);
- if (ifa->ifa_addr->sa_family == AF_INET)
- arp_ifinit(&sc->arpcom, ifa);
break;
case SIOCSIFFLAGS:
DODEBUG(Start_End, printf("SIOCSIFFLAGS"););