diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2015-10-25 13:22:10 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2015-10-25 13:22:10 +0000 |
commit | acd64a3e2424cfb43d303429be53ba7c81b1e6cd (patch) | |
tree | 691f824e4ef29c485804e6eaeb8844f71a5cbdd1 /sys/arch/sparc64/dev | |
parent | 4661f328d1c6f50220cc216dc76e777a4841694f (diff) |
arp_ifinit() is no longer needed.
Diffstat (limited to 'sys/arch/sparc64/dev')
-rw-r--r-- | sys/arch/sparc64/dev/vnet.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/arch/sparc64/dev/vnet.c b/sys/arch/sparc64/dev/vnet.c index 5d87b971661..ec19e013526 100644 --- a/sys/arch/sparc64/dev/vnet.c +++ b/sys/arch/sparc64/dev/vnet.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vnet.c,v 1.46 2015/06/24 09:40:53 mpi Exp $ */ +/* $OpenBSD: vnet.c,v 1.47 2015/10/25 13:22:09 mpi Exp $ */ /* * Copyright (c) 2009, 2015 Mark Kettenis * @@ -1243,7 +1243,6 @@ int vnet_ioctl(struct ifnet *ifp, u_long cmd, caddr_t data) { struct vnet_softc *sc = ifp->if_softc; - struct ifaddr *ifa = (struct ifaddr *)data; struct ifreq *ifr = (struct ifreq *)data; int s, error = 0; @@ -1252,8 +1251,6 @@ vnet_ioctl(struct ifnet *ifp, u_long cmd, caddr_t data) switch (cmd) { case SIOCSIFADDR: ifp->if_flags |= IFF_UP; - if (ifa->ifa_addr->sa_family == AF_INET) - arp_ifinit(&sc->sc_ac, ifa); /* FALLTHROUGH */ case SIOCSIFFLAGS: if (ifp->if_flags & IFF_UP) { |