Eliminate USB_ATTACH_SETUP and USB_MATCH_SETUP. They are no longer in

the tree.
This commit is contained in:
Warner Losh 2007-06-11 06:18:34 +00:00
parent 2a88b253af
commit c02f7d824d

View File

@ -148,9 +148,6 @@ __CONCAT(dname,_match)(device_t self)
#define USB_MATCH_START(dname, uaa) \
struct usb_attach_arg *uaa = device_get_ivars(self)
#define USB_MATCH_SETUP \
sc->sc_dev = self
#define USB_ATTACH(dname) \
static int \
__CONCAT(dname,_attach)(device_t self)
@ -163,12 +160,6 @@ __CONCAT(dname,_attach)(device_t self)
#define USB_ATTACH_ERROR_RETURN return ENXIO
#define USB_ATTACH_SUCCESS_RETURN return 0
#define USB_ATTACH_SETUP \
do { \
sc->sc_dev = self; \
device_set_desc_copy(self, devinfo); \
} while (0)
#define USB_DETACH(dname) \
static int \
__CONCAT(dname,_detach)(device_t self)