patch-2.4.11-dontuse linux/drivers/usb/uhci-debug.h
Next file: linux/drivers/usb/uhci.c
Previous file: linux/drivers/usb/storage/datafab.c
Back to the patch index
Back to the overall index
-  Lines: 11
-  Date:
Tue Oct  9 15:25:55 2001
-  Orig file: 
v2.4.10/linux/drivers/usb/uhci-debug.h
-  Orig date: 
Tue Aug  7 12:52:07 2001
diff -u --recursive --new-file v2.4.10/linux/drivers/usb/uhci-debug.h linux/drivers/usb/uhci-debug.h
@@ -372,7 +372,9 @@
 				if (td->link != td->dma_handle)
 					out += sprintf(out, "    skel_term_td does not link to self\n");
 
-				out += uhci_show_td(td, out, len - (out - buf), 4);
+				/* Don't show it twice */
+				if (debug <= 1)
+					out += uhci_show_td(td, out, len - (out - buf), 4);
 			}
 
 			continue;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)