mirror of
https://github.com/reactos/reactos.git
synced 2026-06-03 01:41:13 +08:00
[KBDHID]
- Fix typo [USBCCGP] - Remove unused variable svn path=/branches/usb-bringup-trunk/; revision=55327
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user