summaryrefslogtreecommitdiff
path: root/sys/dev/isa/if_ie.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/isa/if_ie.c')
-rw-r--r--sys/dev/isa/if_ie.c14
1 files changed, 2 insertions, 12 deletions
diff --git a/sys/dev/isa/if_ie.c b/sys/dev/isa/if_ie.c
index 7457b0aeb58..5dbff9973f5 100644
--- a/sys/dev/isa/if_ie.c
+++ b/sys/dev/isa/if_ie.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_ie.c,v 1.43 2015/06/24 09:40:54 mpi Exp $ */
+/* $OpenBSD: if_ie.c,v 1.44 2015/10/25 13:13:06 mpi Exp $ */
/* $NetBSD: if_ie.c,v 1.51 1996/05/12 23:52:48 mycroft Exp $ */
/*-
@@ -2019,7 +2019,6 @@ ieioctl(ifp, cmd, data)
caddr_t data;
{
struct ie_softc *sc = ifp->if_softc;
- struct ifaddr *ifa = (struct ifaddr *)data;
int s, error = 0;
s = splnet();
@@ -2027,16 +2026,7 @@ ieioctl(ifp, cmd, data)
switch (cmd) {
case SIOCSIFADDR:
ifp->if_flags |= IFF_UP;
-
- switch (ifa->ifa_addr->sa_family) {
- case AF_INET:
- ieinit(sc);
- arp_ifinit(&sc->sc_arpcom, ifa);
- break;
- default:
- ieinit(sc);
- break;
- }
+ ieinit(sc);
break;
case SIOCSIFFLAGS: