https://git.reactos.org/?p=reactos.git;a=commitdiff;h=2540c3b1e8658cd5a6599…
commit 2540c3b1e8658cd5a6599e98d41d056ed7ede141
Author: Victor Perevertkin <victor.perevertkin(a)reactos.org>
AuthorDate: Sat Jun 13 03:20:08 2020 +0300
Commit: Victor Perevertkin <victor.perevertkin(a)reactos.org>
CommitDate: Sat Jun 13 03:20:08 2020 +0300
[USBSTOR] Fix unused variable introduced in 94e61c3
---
drivers/usb/usbstor/scsi.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/usb/usbstor/scsi.c b/drivers/usb/usbstor/scsi.c
index d32aa0941cd..f1749aef48c 100644
--- a/drivers/usb/usbstor/scsi.c
+++ b/drivers/usb/usbstor/scsi.c
@@ -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;