diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2015-10-25 13:04:29 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2015-10-25 13:04:29 +0000 |
commit | 0c79af6ee6e79a0199834ca49fefdc82683d72bb (patch) | |
tree | 66f3ac729afbafd483c41b6a5ac3249a15a4eb6f /sys/dev/pci/if_ixgb.c | |
parent | 19c4d6b18768c8507bcaa48bf555ef8ef9e8502d (diff) |
arp_ifinit() is no longer needed.
Diffstat (limited to 'sys/dev/pci/if_ixgb.c')
-rw-r--r-- | sys/dev/pci/if_ixgb.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/dev/pci/if_ixgb.c b/sys/dev/pci/if_ixgb.c index 9bebe61ad34..c9c524a2850 100644 --- a/sys/dev/pci/if_ixgb.c +++ b/sys/dev/pci/if_ixgb.c @@ -31,7 +31,7 @@ POSSIBILITY OF SUCH DAMAGE. ***************************************************************************/ -/* $OpenBSD: if_ixgb.c,v 1.65 2015/06/24 09:40:54 mpi Exp $ */ +/* $OpenBSD: if_ixgb.c,v 1.66 2015/10/25 13:04:28 mpi Exp $ */ #include <dev/pci/if_ixgb.h> @@ -331,7 +331,6 @@ int ixgb_ioctl(struct ifnet *ifp, u_long command, caddr_t data) { struct ixgb_softc *sc = ifp->if_softc; - struct ifaddr *ifa = (struct ifaddr *) data; struct ifreq *ifr = (struct ifreq *) data; int s, error = 0; @@ -344,8 +343,6 @@ ixgb_ioctl(struct ifnet *ifp, u_long command, caddr_t data) ifp->if_flags |= IFF_UP; if (!(ifp->if_flags & IFF_RUNNING)) ixgb_init(sc); - if (ifa->ifa_addr->sa_family == AF_INET) - arp_ifinit(&sc->interface_data, ifa); break; case SIOCSIFFLAGS: |