PERFORCE change 178695 for review

Hans Petter Selasky hselasky at FreeBSD.org
Mon May 24 08:53:58 UTC 2010


http://p4web.freebsd.org/@@178695?ac=10

Change 178695 by hselasky at hselasky_laptop001 on 2010/05/24 08:53:50

	
	IFC

Affected files ...

.. //depot/projects/usb/src/sys/dev/usb/usb_request.c#33 edit

Differences ...

==== //depot/projects/usb/src/sys/dev/usb/usb_request.c#33 (text+ko) ====

@@ -79,7 +79,6 @@
 
 #ifdef USB_REQ_DEBUG
 /* The following structures are used in connection to fault injection. */
-
 struct usb_ctrl_debug {
 	int bus_index;		/* target bus */
 	int dev_index;		/* target address */
@@ -584,12 +583,6 @@
 		} else {
 			if (usbd_xfer_frame_len(xfer, 0) == 0) {
 				if (xfer->flags.manual_status) {
-#ifdef USB_DEBUG
-					int temp;
-
-					temp = usb_ss_delay;
-					if (temp > 5000) {
-						temp = 5000;
 #ifdef USB_REQ_DEBUG
 					if (dbg.ss_fail) {
 						err = USB_ERR_INVAL;


More information about the p4-projects mailing list