Logging fail codes for unhandled Pnp IRPs is unneccesary and adds
significant noise with multiple VBDs. Its unlikely the return value
from storport is going to add significant insight to diagnose
problems.
Signed-off-by: Owen Smith <owen.smith@citrix.com>
PIO_STACK_LOCATION Stack = IoGetCurrentIrpStackLocation(Irp);
UCHAR Minor = Stack->MinorFunction;
ULONG TargetId = PdoGetTargetId(Pdo);
- NTSTATUS Status;
__PdoCheckEjectPending(Pdo);
break;
}
PdoDereference(Pdo);
- Status = DriverDispatchPnp(DeviceObject, Irp);
- if (!NT_SUCCESS(Status)) {
- Verbose("Target[%d] : %02x:%s -> %08x\n", TargetId, Minor, PnpMinorFunctionName(Minor), Status);
- }
- return Status;
+ return DriverDispatchPnp(DeviceObject, Irp);
}
__drv_maxIRQL(DISPATCH_LEVEL)