From: Tomasz Pakuła Date: Tue, 11 Feb 2025 14:35:12 +0000 (+0100) Subject: HID: pidff: Remove redundant call to pidff_find_special_keys X-Git-Tag: v6.15-rc1~171^2~5^2~6 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1bd55e79cbc0ea2d6a65f51e06c891806359c2f2;p=thirdparty%2Fkernel%2Flinux.git HID: pidff: Remove redundant call to pidff_find_special_keys Probably left out as a mistake after Anssi created the helper macro Signed-off-by: Tomasz Pakuła Signed-off-by: Jiri Kosina --- diff --git a/drivers/hid/usbhid/hid-pidff.c b/drivers/hid/usbhid/hid-pidff.c index d5734cbf745d1..6f6c47bd57eaa 100644 --- a/drivers/hid/usbhid/hid-pidff.c +++ b/drivers/hid/usbhid/hid-pidff.c @@ -1159,10 +1159,6 @@ static int pidff_find_special_fields(struct pidff_device *pidff) return -1; } - pidff_find_special_keys(pidff->control_id, pidff->device_control, - pidff_device_control, - sizeof(pidff_device_control)); - PIDFF_FIND_SPECIAL_KEYS(control_id, device_control, device_control); if (!PIDFF_FIND_SPECIAL_KEYS(type_id, create_new_effect_type,