We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 493f2ac commit 2540c3bCopy full SHA for 2540c3b
drivers/usb/usbstor/scsi.c
@@ -331,7 +331,6 @@ USBSTOR_CBWCompletionRoutine(
331
PIRP Irp,
332
PVOID Ctx)
333
{
334
- PIRP_CONTEXT Context;
335
PIO_STACK_LOCATION IoStack;
336
PSCSI_REQUEST_BLOCK Request;
337
PPDO_DEVICE_EXTENSION PDODeviceExtension;
@@ -344,7 +343,6 @@ USBSTOR_CBWCompletionRoutine(
344
343
DPRINT("USBSTOR_CBWCompletionRoutine Irp %p Ctx %p Status %x\n", Irp, Ctx, Irp->IoStatus.Status);
345
346
FDODeviceExtension = (PFDO_DEVICE_EXTENSION)Ctx;
347
- Context = &FDODeviceExtension->CurrentIrpContext;
348
IoStack = IoGetCurrentIrpStackLocation(Irp);
349
Request = IoStack->Parameters.Scsi.Srb;
350
PDODeviceExtension = (PPDO_DEVICE_EXTENSION)IoStack->DeviceObject->DeviceExtension;
0 commit comments