mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
[KBDHID]
- Fix typo [USBCCGP] - Remove unused variable svn path=/branches/usb-bringup-trunk/; revision=55327
This commit is contained in:
parent
679512e16c
commit
652e0ab582
2 changed files with 2 additions and 5 deletions
|
@ -575,7 +575,7 @@ KbdHid_StartDevice(
|
|||
MmBuildMdlForNonPagedPool(DeviceExtension->ReportMDL);
|
||||
|
||||
/* get max number of buttons */
|
||||
Buttons = HidP_MaxUsageListLength(HidP_Input, HID_USAGE_PAGE_BUTTON, PreparsedData);
|
||||
Buttons = HidP_MaxUsageListLength(HidP_Input, HID_USAGE_PAGE_KEYBOARD, PreparsedData);
|
||||
DPRINT1("[KBDHID] Buttons %lu\n", Buttons);
|
||||
ASSERT(Buttons > 0);
|
||||
|
||||
|
|
|
@ -188,7 +188,6 @@ USBCCGP_PdoHandleQueryId(
|
|||
{
|
||||
PIO_STACK_LOCATION IoStack;
|
||||
PUNICODE_STRING DeviceString = NULL;
|
||||
UNICODE_STRING TempString;
|
||||
PPDO_DEVICE_EXTENSION PDODeviceExtension;
|
||||
NTSTATUS Status;
|
||||
LPWSTR Buffer;
|
||||
|
@ -855,12 +854,10 @@ PDO_HandleInternalDeviceControl(
|
|||
return Status;
|
||||
}
|
||||
}
|
||||
else if (Urb->UrbHeader.Function == URB_FUNCTION_GET_DESCRIPTOR_FROM_INTERFACE)
|
||||
else
|
||||
{
|
||||
DPRINT1("URB_FUNCTION_GET_DESCRIPTOR_FROM_INTERFACE\n");
|
||||
IoSkipCurrentIrpStackLocation(Irp);
|
||||
Status = IoCallDriver(PDODeviceExtension->NextDeviceObject, Irp);
|
||||
DPRINT1("URB_FUNCTION_GET_DESCRIPTOR_FROM_INTERFACE Status %x\n", Status);
|
||||
return Status;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue