Skip to content

Commit 2540c3b

Browse files
committed
[USBSTOR] Fix unused variable introduced in 94e61c3
1 parent 493f2ac commit 2540c3b

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

drivers/usb/usbstor/scsi.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,6 @@ USBSTOR_CBWCompletionRoutine(
331331
PIRP Irp,
332332
PVOID Ctx)
333333
{
334-
PIRP_CONTEXT Context;
335334
PIO_STACK_LOCATION IoStack;
336335
PSCSI_REQUEST_BLOCK Request;
337336
PPDO_DEVICE_EXTENSION PDODeviceExtension;
@@ -344,7 +343,6 @@ USBSTOR_CBWCompletionRoutine(
344343
DPRINT("USBSTOR_CBWCompletionRoutine Irp %p Ctx %p Status %x\n", Irp, Ctx, Irp->IoStatus.Status);
345344

346345
FDODeviceExtension = (PFDO_DEVICE_EXTENSION)Ctx;
347-
Context = &FDODeviceExtension->CurrentIrpContext;
348346
IoStack = IoGetCurrentIrpStackLocation(Irp);
349347
Request = IoStack->Parameters.Scsi.Srb;
350348
PDODeviceExtension = (PPDO_DEVICE_EXTENSION)IoStack->DeviceObject->DeviceExtension;

0 commit comments

Comments
 (0)