svn commit: r250212 - head/sys/dev/usb

Hans Petter Selasky hselasky at FreeBSD.org
Fri May 3 13:33:37 UTC 2013


Author: hselasky
Date: Fri May  3 13:33:36 2013
New Revision: 250212
URL: http://svnweb.freebsd.org/changeset/base/250212

Log:
  Fix compile warning.

Modified:
  head/sys/dev/usb/usb_device.c

Modified: head/sys/dev/usb/usb_device.c
==============================================================================
--- head/sys/dev/usb/usb_device.c	Fri May  3 13:27:13 2013	(r250211)
+++ head/sys/dev/usb/usb_device.c	Fri May  3 13:33:36 2013	(r250212)
@@ -838,8 +838,9 @@ usb_config_parse(struct usb_device *udev
 		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:


More information about the svn-src-all mailing list