mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
winexinput.sys: Remove unnecessary IOCTL_HID_GET_STRING condition.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
13813894f2
commit
aa9db743cd
1 changed files with 1 additions and 1 deletions
|
@ -400,7 +400,7 @@ static NTSTATUS WINAPI internal_ioctl(DEVICE_OBJECT *device, IRP *irp)
|
|||
TRACE("device %p, irp %p, code %#x, bus_device %p.\n", device, irp, code, fdo->bus_device);
|
||||
|
||||
if (code == IOCTL_HID_READ_REPORT) return try_complete_pending_read(device, irp);
|
||||
if (impl->is_gamepad || code == IOCTL_HID_GET_STRING) return gamepad_internal_ioctl(device, irp);
|
||||
if (impl->is_gamepad) return gamepad_internal_ioctl(device, irp);
|
||||
|
||||
IoSkipCurrentIrpStackLocation(irp);
|
||||
return IoCallDriver(fdo->bus_device, irp);
|
||||
|
|
Loading…
Reference in a new issue