diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2015-10-25 12:11:57 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2015-10-25 12:11:57 +0000 |
commit | cb4a2414510d30f85c33547fca38c5120fbc2b02 (patch) | |
tree | abbb0af1102c83790efb41070d81c820e92f3c0b /sys/dev/usb/if_cue.c | |
parent | 1259f9f3c0efdab8a370f3c9fbaa9a110b6a9a6c (diff) |
arp_ifinit() is no longer needed.
Diffstat (limited to 'sys/dev/usb/if_cue.c')
-rw-r--r-- | sys/dev/usb/if_cue.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/sys/dev/usb/if_cue.c b/sys/dev/usb/if_cue.c index 9c62e5fa436..e4c17ddb7c9 100644 --- a/sys/dev/usb/if_cue.c +++ b/sys/dev/usb/if_cue.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_cue.c,v 1.71 2015/06/24 09:40:54 mpi Exp $ */ +/* $OpenBSD: if_cue.c,v 1.72 2015/10/25 12:11:56 mpi Exp $ */ /* $NetBSD: if_cue.c,v 1.40 2002/07/11 21:14:26 augustss Exp $ */ /* * Copyright (c) 1997, 1998, 1999, 2000 @@ -1041,7 +1041,6 @@ int cue_ioctl(struct ifnet *ifp, u_long command, caddr_t data) { struct cue_softc *sc = ifp->if_softc; - struct ifaddr *ifa = (struct ifaddr *)data; int s, error = 0; if (usbd_is_dying(sc->cue_udev)) @@ -1053,12 +1052,6 @@ cue_ioctl(struct ifnet *ifp, u_long command, caddr_t data) case SIOCSIFADDR: ifp->if_flags |= IFF_UP; cue_init(sc); - - switch (ifa->ifa_addr->sa_family) { - case AF_INET: - arp_ifinit(&sc->arpcom, ifa); - break; - } break; case SIOCSIFFLAGS: |