Don't put a ; after while (0)

Submitted by:	jmg
This commit is contained in:
Warner Losh 2006-08-17 22:42:56 +00:00
parent 590e3a06e8
commit 5657c870dc

View File

@ -437,7 +437,7 @@ typedef struct callout usb_callout_t;
device_detach(dev); \
free(uaap, M_USB); \
device_delete_child(device_get_parent(dev), dev); \
} while (0);
} while (0)
typedef struct malloc_type *usb_malloc_type;
@ -493,7 +493,7 @@ __CONCAT(dname,_attach)(device_t self)
do { \
sc->sc_dev = self; \
device_set_desc_copy(self, devinfo); \
} while (0);
} while (0)
#define USB_DETACH(dname) \
Static int \