summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/if_otus.c
diff options
context:
space:
mode:
authorjsg <jsg@openbsd.org>2010-08-27 17:08:00 +0000
committerjsg <jsg@openbsd.org>2010-08-27 17:08:00 +0000
commitf110151de5b064ca6a4186885c3d9dc28bd91f18 (patch)
treeb895f5e8004bb6e3d8b1b4d9d55b9dfae2570d91 /sys/dev/usb/if_otus.c
parentMutilate the powerhook function into an activate function, then create (diff)
downloadwireguard-openbsd-f110151de5b064ca6a4186885c3d9dc28bd91f18.tar.xz
wireguard-openbsd-f110151de5b064ca6a4186885c3d9dc28bd91f18.zip
remove the unused if_init callback in struct ifnet
ok deraadt@ henning@ claudio@
Diffstat (limited to 'sys/dev/usb/if_otus.c')
-rw-r--r--sys/dev/usb/if_otus.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/usb/if_otus.c b/sys/dev/usb/if_otus.c
index 7c9aaad08e0..00104ad12a6 100644
--- a/sys/dev/usb/if_otus.c
+++ b/sys/dev/usb/if_otus.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_otus.c,v 1.17 2010/04/20 22:05:43 tedu Exp $ */
+/* $OpenBSD: if_otus.c,v 1.18 2010/08/27 17:08:00 jsg Exp $ */
/*-
* Copyright (c) 2009 Damien Bergamini <damien.bergamini@free.fr>
@@ -366,7 +366,6 @@ otus_attachhook(void *xsc)
ifp->if_softc = sc;
ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
- ifp->if_init = otus_init;
ifp->if_ioctl = otus_ioctl;
ifp->if_start = otus_start;
ifp->if_watchdog = otus_watchdog;