summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/if_kue.c
diff options
context:
space:
mode:
authormbalmer <mbalmer@openbsd.org>2007-06-10 10:53:48 +0000
committermbalmer <mbalmer@openbsd.org>2007-06-10 10:53:48 +0000
commit1596fc1e8614a8e5fa585e7e19db4d9de4a96714 (patch)
tree9de436f81d8a01dc47713139858b55ecb612c793 /sys/dev/usb/if_kue.c
parentRemove definitions and usage of usb_callout and related macros. These macros (diff)
downloadwireguard-openbsd-1596fc1e8614a8e5fa585e7e19db4d9de4a96714.tar.xz
wireguard-openbsd-1596fc1e8614a8e5fa585e7e19db4d9de4a96714.zip
Remove the definition and use of the USBDEV macro. It only created confusion
and the address of it's argument: USBDEV(sc->sc_dev) yields &sc->sc_dev. No binary changes. ok jsg.
Diffstat (limited to 'sys/dev/usb/if_kue.c')
-rw-r--r--sys/dev/usb/if_kue.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/if_kue.c b/sys/dev/usb/if_kue.c
index 2d7c65e370f..bcfc72a52d1 100644
--- a/sys/dev/usb/if_kue.c
+++ b/sys/dev/usb/if_kue.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_kue.c,v 1.50 2007/06/05 08:43:55 mbalmer Exp $ */
+/* $OpenBSD: if_kue.c,v 1.51 2007/06/10 10:53:48 mbalmer Exp $ */
/* $NetBSD: if_kue.c,v 1.50 2002/07/16 22:00:31 augustss Exp $ */
/*
* Copyright (c) 1997, 1998, 1999, 2000
@@ -536,7 +536,7 @@ kue_attach(struct device *parent, struct device *self, void *aux)
kue_attachhook(sc);
usbd_add_drv_event(USB_EVENT_DRIVER_ATTACH, sc->kue_udev,
- USBDEV(sc->kue_dev));
+ &sc->kue_dev);
}
int