summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/if_cdce.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/if_cdce.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/if_cdce.c')
-rw-r--r--sys/dev/usb/if_cdce.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/if_cdce.c b/sys/dev/usb/if_cdce.c
index cb01b6f..de7a0b6 100644
--- a/sys/dev/usb/if_cdce.c
+++ b/sys/dev/usb/if_cdce.c
@@ -312,7 +312,7 @@ USB_ATTACH(cdce)
CDCE_UNLOCK(sc);
usbd_add_drv_event(USB_EVENT_DRIVER_ATTACH, sc->cdce_udev,
- USBDEV(sc->cdce_dev));
+ sc->cdce_dev);
return 0;
}
@@ -335,7 +335,7 @@ USB_DETACH(cdce)
mtx_destroy(&sc->cdce_mtx);
usbd_add_drv_event(USB_EVENT_DRIVER_DETACH, sc->cdce_udev,
- USBDEV(sc->cdce_dev));
+ sc->cdce_dev);
return (0);
}
OpenPOWER on IntegriCloud