mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 16:32:59 +00:00
[USBSTOR] Fix unused variable introduced in 94e61c3
This commit is contained in:
parent
493f2ace11
commit
2540c3b1e8
1 changed files with 0 additions and 2 deletions
|
@ -331,7 +331,6 @@ USBSTOR_CBWCompletionRoutine(
|
||||||
PIRP Irp,
|
PIRP Irp,
|
||||||
PVOID Ctx)
|
PVOID Ctx)
|
||||||
{
|
{
|
||||||
PIRP_CONTEXT Context;
|
|
||||||
PIO_STACK_LOCATION IoStack;
|
PIO_STACK_LOCATION IoStack;
|
||||||
PSCSI_REQUEST_BLOCK Request;
|
PSCSI_REQUEST_BLOCK Request;
|
||||||
PPDO_DEVICE_EXTENSION PDODeviceExtension;
|
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);
|
DPRINT("USBSTOR_CBWCompletionRoutine Irp %p Ctx %p Status %x\n", Irp, Ctx, Irp->IoStatus.Status);
|
||||||
|
|
||||||
FDODeviceExtension = (PFDO_DEVICE_EXTENSION)Ctx;
|
FDODeviceExtension = (PFDO_DEVICE_EXTENSION)Ctx;
|
||||||
Context = &FDODeviceExtension->CurrentIrpContext;
|
|
||||||
IoStack = IoGetCurrentIrpStackLocation(Irp);
|
IoStack = IoGetCurrentIrpStackLocation(Irp);
|
||||||
Request = IoStack->Parameters.Scsi.Srb;
|
Request = IoStack->Parameters.Scsi.Srb;
|
||||||
PDODeviceExtension = (PPDO_DEVICE_EXTENSION)IoStack->DeviceObject->DeviceExtension;
|
PDODeviceExtension = (PPDO_DEVICE_EXTENSION)IoStack->DeviceObject->DeviceExtension;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue