mirror of
https://github.com/reactos/reactos.git
synced 2025-08-07 05:52:57 +00:00
[USBSTOR] Remove workarounds for old storage stack
This commit is contained in:
parent
aa05649902
commit
39c48a4d91
3 changed files with 1 additions and 21 deletions
|
@ -327,15 +327,7 @@ USBSTOR_FdoHandlePnp(
|
|||
case IRP_MN_QUERY_STOP_DEVICE:
|
||||
case IRP_MN_QUERY_REMOVE_DEVICE:
|
||||
{
|
||||
#if 0
|
||||
//
|
||||
// we can if nothing is pending
|
||||
//
|
||||
if (DeviceExtension->IrpPendingCount != 0 ||
|
||||
DeviceExtension->ActiveSrb != NULL)
|
||||
#else
|
||||
if (TRUE)
|
||||
#endif
|
||||
if (DeviceExtension->IrpPendingCount != 0 || DeviceExtension->ActiveSrb != NULL)
|
||||
{
|
||||
/* We have pending requests */
|
||||
DPRINT1("Failing removal/stop request due to pending requests present\n");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue