summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/uftdi.c
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2007-06-12 16:52:07 +0000
committerimp <imp@FreeBSD.org>2007-06-12 16:52:07 +0000
commite834ae963f8522bce24ae081eba547b68f85ded1 (patch)
tree396db1f2e448e6e195fd08a0ede25fb41109414c /sys/dev/usb/uftdi.c
parentfc9cb03e61e12e2da0f587a3fdccfdd9367dda86 (diff)
downloadFreeBSD-src-e834ae963f8522bce24ae081eba547b68f85ded1.zip
FreeBSD-src-e834ae963f8522bce24ae081eba547b68f85ded1.tar.gz
Remove USBDEV() macro. We do not need a macro that is defined as its
only argument. It was used inconsistently in the tree, so remove it.
Diffstat (limited to 'sys/dev/usb/uftdi.c')
-rw-r--r--sys/dev/usb/uftdi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/usb/uftdi.c b/sys/dev/usb/uftdi.c
index f82bf8a..6592261 100644
--- a/sys/dev/usb/uftdi.c
+++ b/sys/dev/usb/uftdi.c
@@ -353,7 +353,7 @@ USB_ATTACH(uftdi)
ucom->sc_callback = &uftdi_callback;
#if 0
usbd_add_drv_event(USB_EVENT_DRIVER_ATTACH, ucom->sc_udev,
- USBDEV(ucom->sc_dev));
+ ucom->sc_dev);
#endif
DPRINTF(("uftdi: in=0x%x out=0x%x\n", ucom->sc_bulkin_no, ucom->sc_bulkout_no));
ucom_attach(&sc->sc_ucom);
OpenPOWER on IntegriCloud