Skip to content

Commit 1bd55e7

Browse files
LawstorantJiri Kosina
authored andcommitted
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 <tomasz.pakula.oficjalny@gmail.com> Signed-off-by: Jiri Kosina <jkosina@suse.com>
1 parent 9d4174d commit 1bd55e7

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

drivers/hid/usbhid/hid-pidff.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1159,10 +1159,6 @@ static int pidff_find_special_fields(struct pidff_device *pidff)
11591159
return -1;
11601160
}
11611161

1162-
pidff_find_special_keys(pidff->control_id, pidff->device_control,
1163-
pidff_device_control,
1164-
sizeof(pidff_device_control));
1165-
11661162
PIDFF_FIND_SPECIAL_KEYS(control_id, device_control, device_control);
11671163

11681164
if (!PIDFF_FIND_SPECIAL_KEYS(type_id, create_new_effect_type,

0 commit comments

Comments
 (0)