[USBPORT] Reduces output of debug messages.
authorVadim Galyant <vgal@rambler.ru>
Sun, 3 Dec 2017 05:06:06 +0000 (14:06 +0900)
committerAmine Khaldi <amine.khaldi@reactos.org>
Sun, 21 Jan 2018 18:35:46 +0000 (19:35 +0100)
drivers/usb/usbport/ioctl.c
drivers/usb/usbport/trfsplit.c

index 7322958..6502c65 100644 (file)
@@ -326,10 +326,10 @@ USBPORT_PdoInternalDeviceControl(IN PDEVICE_OBJECT PdoDevice,
     IoStack = IoGetCurrentIrpStackLocation(Irp);
     IoCtl = IoStack->Parameters.DeviceIoControl.IoControlCode;
 
-    DPRINT("USBPORT_PdoInternalDeviceControl: PdoDevice - %p, Irp - %p, IoCtl - %x\n",
-           PdoDevice,
-           Irp,
-           IoCtl);
+    //DPRINT("USBPORT_PdoInternalDeviceControl: PdoDevice - %p, Irp - %p, IoCtl - %x\n",
+    //       PdoDevice,
+    //       Irp,
+    //       IoCtl);
 
     if (IoCtl == IOCTL_INTERNAL_USB_SUBMIT_URB)
     {
index 1964e8d..bc1efe3 100644 (file)
@@ -148,8 +148,8 @@ USBPORT_SplitBulkInterruptTransfer(IN PDEVICE_OBJECT FdoDevice,
 
     InitializeListHead(&tmplist);
 
-    DPRINT1("USBPORT_SplitBulkInterruptTransfer: TransferBufferLength - %x, NeedSplits - %x\n",
-            TransferBufferLength, NeedSplits);
+    DPRINT("USBPORT_SplitBulkInterruptTransfer: TransferBufferLength - %x, NeedSplits - %x\n",
+           TransferBufferLength, NeedSplits);
 
     if (!NeedSplits)
     {
@@ -214,7 +214,7 @@ Exit:
 
     while (!IsListEmpty(&tmplist))
     {
-        DPRINT1("USBPORT_SplitBulkInterruptTransfer: ... \n");
+        DPRINT("USBPORT_SplitBulkInterruptTransfer: ... \n");
 
         SplitTransfer = CONTAINING_RECORD(tmplist.Flink,
                                           USBPORT_TRANSFER,