mirror of
https://github.com/reactos/reactos.git
synced 2025-04-20 20:36:35 +00:00
[USBSTOR]
- Remove superflous declaration - Fix bug when quering for compatible ids - Remove unused local variable svn path=/branches/usb-bringup/; revision=52038
This commit is contained in:
parent
d7582766db
commit
da9d8082b0
3 changed files with 2 additions and 9 deletions
|
@ -65,7 +65,6 @@ USBSTOR_HandleTransferError(
|
|||
{
|
||||
NTSTATUS Status;
|
||||
PIO_STACK_LOCATION Stack;
|
||||
PURB Urb;
|
||||
USBD_PIPE_HANDLE PipeHandle;
|
||||
PSCSI_REQUEST_BLOCK Request;
|
||||
|
||||
|
|
|
@ -600,8 +600,8 @@ USBSTOR_PdoHandleQueryCompatibleId(
|
|||
//
|
||||
// format instance id
|
||||
//
|
||||
Length = sprintf(Buffer, L"USBSTOR\\%s", DeviceType) + 1;
|
||||
Length += sprintf(&Buffer[Length], L"USBSTOR\\%s", L"RAW") + 2;
|
||||
Length = sprintf(Buffer, "USBSTOR\\%s", DeviceType) + 1;
|
||||
Length += sprintf(&Buffer[Length], "USBSTOR\\%s", "RAW") + 2;
|
||||
|
||||
//
|
||||
// allocate instance id
|
||||
|
|
|
@ -38,12 +38,6 @@
|
|||
#define USB_RECOVERABLE_ERRORS (USBD_STATUS_STALL_PID | USBD_STATUS_DEV_NOT_RESPONDING \
|
||||
| USBD_STATUS_ENDPOINT_HALTED | USBD_STATUS_NO_BANDWIDTH)
|
||||
|
||||
NTSTATUS NTAPI
|
||||
IoAttachDeviceToDeviceStackSafe(
|
||||
IN PDEVICE_OBJECT SourceDevice,
|
||||
IN PDEVICE_OBJECT TargetDevice,
|
||||
OUT PDEVICE_OBJECT *AttachedToDeviceObject);
|
||||
|
||||
typedef struct __COMMON_DEVICE_EXTENSION__
|
||||
{
|
||||
BOOLEAN IsFDO;
|
||||
|
|
Loading…
Reference in a new issue