summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Bus/Usb/UsbMouseDxe/UsbMouse.c
diff options
context:
space:
mode:
Diffstat (limited to 'MdeModulePkg/Bus/Usb/UsbMouseDxe/UsbMouse.c')
-rw-r--r--MdeModulePkg/Bus/Usb/UsbMouseDxe/UsbMouse.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/MdeModulePkg/Bus/Usb/UsbMouseDxe/UsbMouse.c b/MdeModulePkg/Bus/Usb/UsbMouseDxe/UsbMouse.c
index 205e92b2cb..db5fe8ebfb 100644
--- a/MdeModulePkg/Bus/Usb/UsbMouseDxe/UsbMouse.c
+++ b/MdeModulePkg/Bus/Usb/UsbMouseDxe/UsbMouse.c
@@ -526,8 +526,6 @@ InitializeUsbMouseDevice (
EFI_STATUS Status;
EFI_USB_HID_DESCRIPTOR *MouseHidDesc;
UINT8 *ReportDesc;
- UINT8 ReportId;
- UINT8 Duration;
EFI_USB_CONFIG_DESCRIPTOR ConfigDesc;
VOID *Buf;
UINT32 TransferResult;
@@ -679,23 +677,6 @@ InitializeUsbMouseDevice (
}
}
- //
- // ReportId is zero, which means the idle rate applies to all input reports.
- //
- ReportId = 0;
- //
- // Duration is zero, which means the duration is infinite.
- // so the endpoint will inhibit reporting forever,
- // and only reporting when a change is detected in the report data.
- //
- Duration = 0;
- UsbSetIdleRequest (
- UsbIo,
- UsbMouseDev->InterfaceDescriptor.InterfaceNumber,
- ReportId,
- Duration
- );
-
FreePool (Buf);
FreePool (ReportDesc);