https://git.reactos.org/?p=reactos.git;a=commitdiff;h=2d4bd7b74449bb5af1f82…
commit 2d4bd7b74449bb5af1f82551ec31985aae9825b2
Author: Vadim Galyant <vgal(a)rambler.ru>
AuthorDate: Sun Dec 3 14:06:06 2017 +0900
Commit: Amine Khaldi <amine.khaldi(a)reactos.org>
CommitDate: Sun Jan 21 19:35:46 2018 +0100
[USBPORT] Reduces output of debug messages.
---
drivers/usb/usbport/ioctl.c | 8 ++++----
drivers/usb/usbport/trfsplit.c | 6 +++---
2 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/drivers/usb/usbport/ioctl.c b/drivers/usb/usbport/ioctl.c
index 7322958889..6502c6549a 100644
--- a/drivers/usb/usbport/ioctl.c
+++ b/drivers/usb/usbport/ioctl.c
@@ -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)
{
diff --git a/drivers/usb/usbport/trfsplit.c b/drivers/usb/usbport/trfsplit.c
index 1964e8d2dd..bc1efe34e2 100644
--- a/drivers/usb/usbport/trfsplit.c
+++ b/drivers/usb/usbport/trfsplit.c
@@ -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,