summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/if_uath.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_uath.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_uath.c')
-rw-r--r--sys/dev/usb/if_uath.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/usb/if_uath.c b/sys/dev/usb/if_uath.c
index f15a62650c5..37bfc6e8c66 100644
--- a/sys/dev/usb/if_uath.c
+++ b/sys/dev/usb/if_uath.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_uath.c,v 1.42 2010/06/29 07:12:31 matthew Exp $ */
+/* $OpenBSD: if_uath.c,v 1.43 2010/08/27 17:08:01 jsg Exp $ */
/*-
* Copyright (c) 2006
@@ -391,7 +391,6 @@ uath_attach(struct device *parent, struct device *self, void *aux)
ifp->if_softc = sc;
ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
- ifp->if_init = uath_init;
ifp->if_ioctl = uath_ioctl;
ifp->if_start = uath_start;
ifp->if_watchdog = uath_watchdog;