diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2015-10-25 12:48:47 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2015-10-25 12:48:47 +0000 |
commit | 8923d5ed93752d0f6ec3ca6a68991e424b3b0275 (patch) | |
tree | cbdfad843b46567e72d660a055b75e71ec05c710 /sys/dev/ic/hme.c | |
parent | b976dfe799ad6a51ea0610e588a6eddb4d1c6123 (diff) |
arp_ifinit() is no longer needed.
Diffstat (limited to 'sys/dev/ic/hme.c')
-rw-r--r-- | sys/dev/ic/hme.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/dev/ic/hme.c b/sys/dev/ic/hme.c index b9d915c1907..41da924046a 100644 --- a/sys/dev/ic/hme.c +++ b/sys/dev/ic/hme.c @@ -1,4 +1,4 @@ -/* $OpenBSD: hme.c,v 1.74 2015/09/11 13:02:28 stsp Exp $ */ +/* $OpenBSD: hme.c,v 1.75 2015/10/25 12:48:46 mpi Exp $ */ /* $NetBSD: hme.c,v 1.21 2001/07/07 15:59:37 thorpej Exp $ */ /*- @@ -1152,7 +1152,6 @@ int hme_ioctl(struct ifnet *ifp, u_long cmd, caddr_t data) { struct hme_softc *sc = ifp->if_softc; - struct ifaddr *ifa = (struct ifaddr *)data; struct ifreq *ifr = (struct ifreq *)data; int s, error = 0; @@ -1163,8 +1162,6 @@ hme_ioctl(struct ifnet *ifp, u_long cmd, caddr_t data) ifp->if_flags |= IFF_UP; if (!(ifp->if_flags & IFF_RUNNING)) hme_init(sc); - if (ifa->ifa_addr->sa_family == AF_INET) - arp_ifinit(&sc->sc_arpcom, ifa); break; case SIOCSIFFLAGS: |