summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhselasky <hselasky@FreeBSD.org>2013-05-03 13:33:36 +0000
committerhselasky <hselasky@FreeBSD.org>2013-05-03 13:33:36 +0000
commitcc9f388839c014f29ebe7586e40ad11d1683c173 (patch)
tree79fc5e2c76aa6baf01bcfd311633060e065bd3ec
parentfd497a19e91cc62b50a35abdf3a313adffd00dc5 (diff)
downloadFreeBSD-src-cc9f388839c014f29ebe7586e40ad11d1683c173.zip
FreeBSD-src-cc9f388839c014f29ebe7586e40ad11d1683c173.tar.gz
Fix compile warning.
-rw-r--r--sys/dev/usb/usb_device.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/usb/usb_device.c b/sys/dev/usb/usb_device.c
index b88a0e1..82bcd70 100644
--- a/sys/dev/usb/usb_device.c
+++ b/sys/dev/usb/usb_device.c
@@ -838,8 +838,9 @@ usb_config_parse(struct usb_device *udev, uint8_t iface_index, uint8_t cmd)
udev->ep_curr = NULL;
USB_BUS_UNLOCK(udev->bus);
}
-
+#if (USB_HAVE_FIXED_IFACE == 0) || (USB_HAVE_FIXED_ENDPOINT == 0)
done:
+#endif
if (err) {
if (cmd == USB_CFG_ALLOC) {
cleanup:
OpenPOWER on IntegriCloud