Remove two more instances of the USBDEV() macro.

This commit is contained in:
Ruslan Ermilov 2007-06-13 12:36:01 +00:00
parent df01e68922
commit 77764a595a

View File

@ -748,7 +748,7 @@ USB_ATTACH(ubt)
uaa->ifaces[i] = NULL;
usbd_add_drv_event(USB_EVENT_DRIVER_ATTACH, sc->sc_udev,
USBDEV(sc->sc_dev));
sc->sc_dev);
return 0;
bad:
@ -841,7 +841,7 @@ USB_DETACH(ubt)
NG_BT_MBUFQ_DRAIN(&sc->sc_scoq);
usbd_add_drv_event(USB_EVENT_DRIVER_DETACH, sc->sc_udev,
USBDEV(sc->sc_dev));
sc->sc_dev);
return (0);
} /* USB_DETACH(ubt) */