diff options
author | Marc Balmer <mbalmer@cvs.openbsd.org> | 2007-06-11 06:14:25 +0000 |
---|---|---|
committer | Marc Balmer <mbalmer@cvs.openbsd.org> | 2007-06-11 06:14:25 +0000 |
commit | b1019d20e9ffcd814e5c4cf2a0e152282b47e874 (patch) | |
tree | f52a467a738ba69caaa3fc8627ab0d7179f65bcb /sys/dev/usb/usbf_subr.c | |
parent | f5cca0afd25a004ac93807a02a2dc9611c8724fa (diff) |
Remove the definiton and usage of the USB_DO_ATTACH macro. It was a wrapper
around a single function only and it did not even use all of it's arguments.
ok jsg.
Diffstat (limited to 'sys/dev/usb/usbf_subr.c')
-rw-r--r-- | sys/dev/usb/usbf_subr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/usbf_subr.c b/sys/dev/usb/usbf_subr.c index 68c42ce1845..0e2ca2dd776 100644 --- a/sys/dev/usb/usbf_subr.c +++ b/sys/dev/usb/usbf_subr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: usbf_subr.c,v 1.5 2007/06/10 14:49:01 mbalmer Exp $ */ +/* $OpenBSD: usbf_subr.c,v 1.6 2007/06/11 06:14:24 mbalmer Exp $ */ /* * Copyright (c) 2006 Uwe Stuehler <uwe@openbsd.org> @@ -111,7 +111,7 @@ usbf_probe_and_attach(device_ptr_t parent, usbf_device_handle dev, int port) * be initialized in the function driver's attach routine. Also, it * should use usbf_devinfo_setup() to set the device identification. */ - dv = USB_DO_ATTACH(dev, NULL, parent, &uaa, NULL, NULL); + dv = config_found_sm(parent, &uaa, NULL, NULL); if (dv != NULL) { dev->function = (struct usbf_function *)dv; return USBF_NORMAL_COMPLETION; |