mirror of
https://github.com/reactos/reactos.git
synced 2025-06-28 17:59:42 +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;
|
NTSTATUS Status;
|
||||||
PIO_STACK_LOCATION Stack;
|
PIO_STACK_LOCATION Stack;
|
||||||
PURB Urb;
|
|
||||||
USBD_PIPE_HANDLE PipeHandle;
|
USBD_PIPE_HANDLE PipeHandle;
|
||||||
PSCSI_REQUEST_BLOCK Request;
|
PSCSI_REQUEST_BLOCK Request;
|
||||||
|
|
||||||
|
|
|
@ -600,8 +600,8 @@ USBSTOR_PdoHandleQueryCompatibleId(
|
||||||
//
|
//
|
||||||
// format instance id
|
// format instance id
|
||||||
//
|
//
|
||||||
Length = sprintf(Buffer, L"USBSTOR\\%s", DeviceType) + 1;
|
Length = sprintf(Buffer, "USBSTOR\\%s", DeviceType) + 1;
|
||||||
Length += sprintf(&Buffer[Length], L"USBSTOR\\%s", L"RAW") + 2;
|
Length += sprintf(&Buffer[Length], "USBSTOR\\%s", "RAW") + 2;
|
||||||
|
|
||||||
//
|
//
|
||||||
// allocate instance id
|
// allocate instance id
|
||||||
|
|
|
@ -38,12 +38,6 @@
|
||||||
#define USB_RECOVERABLE_ERRORS (USBD_STATUS_STALL_PID | USBD_STATUS_DEV_NOT_RESPONDING \
|
#define USB_RECOVERABLE_ERRORS (USBD_STATUS_STALL_PID | USBD_STATUS_DEV_NOT_RESPONDING \
|
||||||
| USBD_STATUS_ENDPOINT_HALTED | USBD_STATUS_NO_BANDWIDTH)
|
| 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__
|
typedef struct __COMMON_DEVICE_EXTENSION__
|
||||||
{
|
{
|
||||||
BOOLEAN IsFDO;
|
BOOLEAN IsFDO;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue