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/rtl81x9.c | |
parent | b976dfe799ad6a51ea0610e588a6eddb4d1c6123 (diff) |
arp_ifinit() is no longer needed.
Diffstat (limited to 'sys/dev/ic/rtl81x9.c')
-rw-r--r-- | sys/dev/ic/rtl81x9.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/dev/ic/rtl81x9.c b/sys/dev/ic/rtl81x9.c index 3a9d0161a50..2ac5982bad9 100644 --- a/sys/dev/ic/rtl81x9.c +++ b/sys/dev/ic/rtl81x9.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rtl81x9.c,v 1.91 2015/06/24 09:40:54 mpi Exp $ */ +/* $OpenBSD: rtl81x9.c,v 1.92 2015/10/25 12:48:46 mpi Exp $ */ /* * Copyright (c) 1997, 1998 @@ -1007,7 +1007,6 @@ rl_ioctl(struct ifnet *ifp, u_long command, caddr_t data) { struct rl_softc *sc = ifp->if_softc; struct ifreq *ifr = (struct ifreq *) data; - struct ifaddr *ifa = (struct ifaddr *) data; int s, error = 0; s = splnet(); @@ -1017,8 +1016,6 @@ rl_ioctl(struct ifnet *ifp, u_long command, caddr_t data) ifp->if_flags |= IFF_UP; if (!(ifp->if_flags & IFF_RUNNING)) rl_init(sc); - if (ifa->ifa_addr->sa_family == AF_INET) - arp_ifinit(&sc->sc_arpcom, ifa); break; case SIOCSIFFLAGS: |