summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_oce.c
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2015-10-25 13:04:29 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2015-10-25 13:04:29 +0000
commit0c79af6ee6e79a0199834ca49fefdc82683d72bb (patch)
tree66f3ac729afbafd483c41b6a5ac3249a15a4eb6f /sys/dev/pci/if_oce.c
parent19c4d6b18768c8507bcaa48bf555ef8ef9e8502d (diff)
arp_ifinit() is no longer needed.
Diffstat (limited to 'sys/dev/pci/if_oce.c')
-rw-r--r--sys/dev/pci/if_oce.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/dev/pci/if_oce.c b/sys/dev/pci/if_oce.c
index 54236f81f3a..32e0bcdd10e 100644
--- a/sys/dev/pci/if_oce.c
+++ b/sys/dev/pci/if_oce.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_oce.c,v 1.87 2015/09/29 17:04:20 chris Exp $ */
+/* $OpenBSD: if_oce.c,v 1.88 2015/10/25 13:04:28 mpi Exp $ */
/*
* Copyright (c) 2012 Mike Belopuhov
@@ -849,7 +849,6 @@ int
oce_ioctl(struct ifnet *ifp, u_long command, caddr_t data)
{
struct oce_softc *sc = ifp->if_softc;
- struct ifaddr *ifa = (struct ifaddr *)data;
struct ifreq *ifr = (struct ifreq *)data;
int s, error = 0;
@@ -860,8 +859,6 @@ oce_ioctl(struct ifnet *ifp, u_long command, caddr_t data)
ifp->if_flags |= IFF_UP;
if (!(ifp->if_flags & IFF_RUNNING))
oce_init(sc);
- if (ifa->ifa_addr->sa_family == AF_INET)
- arp_ifinit(&sc->sc_ac, ifa);
break;
case SIOCSIFFLAGS:
if (ifp->if_flags & IFF_UP) {