diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2015-10-25 13:13:07 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2015-10-25 13:13:07 +0000 |
commit | 4661f328d1c6f50220cc216dc76e777a4841694f (patch) | |
tree | 603995c764bc7777e3ed759cf2d6e1087220aa4b /sys/dev/isa/if_ie.c | |
parent | 8b21cb57a14d51adcbd5b2190a6f83270d62cf39 (diff) |
arp_ifinit() is no longer needed and almost dead.
Diffstat (limited to 'sys/dev/isa/if_ie.c')
-rw-r--r-- | sys/dev/isa/if_ie.c | 14 |
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: |