https://git.reactos.org/?p=reactos.git;a=commitdiff;h=17acec6d134bda624ff1a4d4a936874631b010a8

commit 17acec6d134bda624ff1a4d4a936874631b010a8
Author:     Mark Jansen <[email protected]>
AuthorDate: Wed May 19 22:52:10 2021 +0200
Commit:     Mark Jansen <[email protected]>
CommitDate: Thu May 20 08:35:39 2021 +0200

    [USBCCGP] Mute debug spam
---
 drivers/usb/usbccgp/misc.c | 38 +++++++++++++++++++-------------------
 1 file changed, 19 insertions(+), 19 deletions(-)

diff --git a/drivers/usb/usbccgp/misc.c b/drivers/usb/usbccgp/misc.c
index 807be4914b2..e8c3e82f8e4 100644
--- a/drivers/usb/usbccgp/misc.c
+++ b/drivers/usb/usbccgp/misc.c
@@ -164,30 +164,30 @@ DumpFunctionDescriptor(
     ULONG Index, SubIndex;
 
 
-    DPRINT1("FunctionCount %lu\n", FunctionDescriptorCount);
+    DPRINT("FunctionCount %lu\n", FunctionDescriptorCount);
     for (Index = 0; Index < FunctionDescriptorCount; Index++)
     {
-        DPRINT1("Function %lu\n", Index);
-        DPRINT1("FunctionNumber %lu\n", 
FunctionDescriptor[Index].FunctionNumber);
-        DPRINT1("HardwareId %S\n", 
FunctionDescriptor[Index].HardwareId.Buffer);
-        DPRINT1("CompatibleId %S\n", 
FunctionDescriptor[Index].CompatibleId.Buffer);
-        DPRINT1("FunctionDescription %wZ\n", 
&FunctionDescriptor[Index].FunctionDescription);
-        DPRINT1("NumInterfaces %lu\n", 
FunctionDescriptor[Index].NumberOfInterfaces);
+        DPRINT("Function %lu\n", Index);
+        DPRINT("FunctionNumber %lu\n", 
FunctionDescriptor[Index].FunctionNumber);
+        DPRINT("HardwareId %S\n", FunctionDescriptor[Index].HardwareId.Buffer);
+        DPRINT("CompatibleId %S\n", 
FunctionDescriptor[Index].CompatibleId.Buffer);
+        DPRINT("FunctionDescription %wZ\n", 
&FunctionDescriptor[Index].FunctionDescription);
+        DPRINT("NumInterfaces %lu\n", 
FunctionDescriptor[Index].NumberOfInterfaces);
 
         for(SubIndex = 0; SubIndex < 
FunctionDescriptor[Index].NumberOfInterfaces; SubIndex++)
         {
-            DPRINT1(" Index %lu Interface %p\n", SubIndex, 
FunctionDescriptor[Index].InterfaceDescriptorList[SubIndex]);
-            DPRINT1(" Index %lu Interface InterfaceNumber %x\n", SubIndex, 
FunctionDescriptor[Index].InterfaceDescriptorList[SubIndex]->bInterfaceNumber);
-            DPRINT1(" Index %lu Interface Alternate %x\n", SubIndex, 
FunctionDescriptor[Index].InterfaceDescriptorList[SubIndex]->bAlternateSetting 
);
-            DPRINT1(" Index %lu bLength %x\n", SubIndex, 
FunctionDescriptor[Index].InterfaceDescriptorList[SubIndex]->bLength);
-            DPRINT1(" Index %lu bDescriptorType %x\n", SubIndex, 
FunctionDescriptor[Index].InterfaceDescriptorList[SubIndex]->bDescriptorType);
-            DPRINT1(" Index %lu bInterfaceNumber %x\n", SubIndex, 
FunctionDescriptor[Index].InterfaceDescriptorList[SubIndex]->bInterfaceNumber);
-            DPRINT1(" Index %lu bAlternateSetting %x\n", SubIndex, 
FunctionDescriptor[Index].InterfaceDescriptorList[SubIndex]->bAlternateSetting);
-            DPRINT1(" Index %lu bNumEndpoints %x\n", SubIndex, 
FunctionDescriptor[Index].InterfaceDescriptorList[SubIndex]->bNumEndpoints);
-            DPRINT1(" Index %lu bInterfaceClass %x\n", SubIndex, 
FunctionDescriptor[Index].InterfaceDescriptorList[SubIndex]->bInterfaceClass);
-            DPRINT1(" Index %lu bInterfaceSubClass %x\n", SubIndex, 
FunctionDescriptor[Index].InterfaceDescriptorList[SubIndex]->bInterfaceSubClass);
-            DPRINT1(" Index %lu bInterfaceProtocol %x\n", SubIndex, 
FunctionDescriptor[Index].InterfaceDescriptorList[SubIndex]->bInterfaceProtocol);
-            DPRINT1(" Index %lu iInterface %x\n", SubIndex, 
FunctionDescriptor[Index].InterfaceDescriptorList[SubIndex]->iInterface);
+            DPRINT(" Index %lu Interface %p\n", SubIndex, 
FunctionDescriptor[Index].InterfaceDescriptorList[SubIndex]);
+            DPRINT(" Index %lu Interface InterfaceNumber %x\n", SubIndex, 
FunctionDescriptor[Index].InterfaceDescriptorList[SubIndex]->bInterfaceNumber);
+            DPRINT(" Index %lu Interface Alternate %x\n", SubIndex, 
FunctionDescriptor[Index].InterfaceDescriptorList[SubIndex]->bAlternateSetting 
);
+            DPRINT(" Index %lu bLength %x\n", SubIndex, 
FunctionDescriptor[Index].InterfaceDescriptorList[SubIndex]->bLength);
+            DPRINT(" Index %lu bDescriptorType %x\n", SubIndex, 
FunctionDescriptor[Index].InterfaceDescriptorList[SubIndex]->bDescriptorType);
+            DPRINT(" Index %lu bInterfaceNumber %x\n", SubIndex, 
FunctionDescriptor[Index].InterfaceDescriptorList[SubIndex]->bInterfaceNumber);
+            DPRINT(" Index %lu bAlternateSetting %x\n", SubIndex, 
FunctionDescriptor[Index].InterfaceDescriptorList[SubIndex]->bAlternateSetting);
+            DPRINT(" Index %lu bNumEndpoints %x\n", SubIndex, 
FunctionDescriptor[Index].InterfaceDescriptorList[SubIndex]->bNumEndpoints);
+            DPRINT(" Index %lu bInterfaceClass %x\n", SubIndex, 
FunctionDescriptor[Index].InterfaceDescriptorList[SubIndex]->bInterfaceClass);
+            DPRINT(" Index %lu bInterfaceSubClass %x\n", SubIndex, 
FunctionDescriptor[Index].InterfaceDescriptorList[SubIndex]->bInterfaceSubClass);
+            DPRINT(" Index %lu bInterfaceProtocol %x\n", SubIndex, 
FunctionDescriptor[Index].InterfaceDescriptorList[SubIndex]->bInterfaceProtocol);
+            DPRINT(" Index %lu iInterface %x\n", SubIndex, 
FunctionDescriptor[Index].InterfaceDescriptorList[SubIndex]->iInterface);
         }
     }
 }

Reply via email to