[USBSTOR] Fix unused variable introduced in 94e61c3

This commit is contained in:
Victor Perevertkin 2020-06-13 03:20:08 +03:00
parent 493f2ace11
commit 2540c3b1e8
No known key found for this signature in database
GPG key ID: C750B7222E9C7830

View file

@ -331,7 +331,6 @@ USBSTOR_CBWCompletionRoutine(
PIRP Irp,
PVOID Ctx)
{
PIRP_CONTEXT Context;
PIO_STACK_LOCATION IoStack;
PSCSI_REQUEST_BLOCK Request;
PPDO_DEVICE_EXTENSION PDODeviceExtension;
@ -344,7 +343,6 @@ USBSTOR_CBWCompletionRoutine(
DPRINT("USBSTOR_CBWCompletionRoutine Irp %p Ctx %p Status %x\n", Irp, Ctx, Irp->IoStatus.Status);
FDODeviceExtension = (PFDO_DEVICE_EXTENSION)Ctx;
Context = &FDODeviceExtension->CurrentIrpContext;
IoStack = IoGetCurrentIrpStackLocation(Irp);
Request = IoStack->Parameters.Scsi.Srb;
PDODeviceExtension = (PPDO_DEVICE_EXTENSION)IoStack->DeviceObject->DeviceExtension;