https://git.reactos.org/?p=reactos.git;a=commitdiff;h=02d1cfd37f15c3fbec8a5…
commit 02d1cfd37f15c3fbec8a54eb11a56b25a544da2b
Author: Vadim Galyant <vgal(a)rambler.ru>
AuthorDate: Wed Nov 29 03:51:25 2017 +0900
Commit: Amine Khaldi <amine.khaldi(a)reactos.org>
CommitDate: Sun Jan 21 19:35:41 2018 +0100
[USBPORT] Change debug message in USBPORT_RemoveDevice(().
---
drivers/usb/usbport/device.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/drivers/usb/usbport/device.c b/drivers/usb/usbport/device.c
index ec6dbc33b3..7ea2fda5ca 100644
--- a/drivers/usb/usbport/device.c
+++ b/drivers/usb/usbport/device.c
@@ -1626,7 +1626,10 @@ USBPORT_RemoveDevice(IN PDEVICE_OBJECT FdoDevice,
USBPORT_FreeUsbAddress(FdoDevice, DeviceHandle->DeviceAddress);
}
- DPRINT("USBPORT_RemoveDevice: DeviceHandle->TtList.Flink - %p\n",
DeviceHandle->TtList.Flink);
+ if (!IsListEmpty(&DeviceHandle->TtList))
+ {
+ DPRINT1("USBPORT_RemoveDevice: DeviceHandle->TtList not empty\n");
+ }
while (!IsListEmpty(&DeviceHandle->TtList))
{