summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2006-08-17 22:42:56 +0000
committerimp <imp@FreeBSD.org>2006-08-17 22:42:56 +0000
commit59cd950be143bf9ff3f67c3a051757216f0b9933 (patch)
tree109ac82eafd04975276f141e019d2ad3579353b8 /sys
parentb2940209423ca0e1df97c5205435876ea4eda09e (diff)
downloadFreeBSD-src-59cd950be143bf9ff3f67c3a051757216f0b9933.zip
FreeBSD-src-59cd950be143bf9ff3f67c3a051757216f0b9933.tar.gz
Don't put a ; after while (0)
Submitted by: jmg
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/usb/usb_port.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/usb_port.h b/sys/dev/usb/usb_port.h
index 296126e..9b2ddf2 100644
--- a/sys/dev/usb/usb_port.h
+++ b/sys/dev/usb/usb_port.h
@@ -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 \
OpenPOWER on IntegriCloud