[USBSTOR] Remove workarounds for old storage stack

This commit is contained in:
Victor Perevertkin 2020-12-06 23:32:29 +03:00
parent aa05649902
commit 39c48a4d91
No known key found for this signature in database
GPG key ID: C750B7222E9C7830
3 changed files with 1 additions and 21 deletions

View file

@ -173,13 +173,8 @@ USBSTOR_HandleInternalDeviceControl(
{
DPRINT1("SRB_FUNCTION_FLUSH / SRB_FUNCTION_FLUSH_QUEUE / SRB_FUNCTION_SHUTDOWN\n");
// HACK: don't flush pending requests
#if 0 // we really need a proper storage stack
//
// wait for pending requests to finish
//
USBSTOR_QueueWaitForPendingRequests(PDODeviceExtension->LowerDeviceObject);
#endif
Request->SrbStatus = SRB_STATUS_SUCCESS;
Status = STATUS_SUCCESS;