mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-28 07:13:34 +00:00
HID: ntrig remove if and drop an indent
Signed-off-by: Rafi Rubin <rafi@seas.upenn.edu> Tested-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
This commit is contained in:
parent
6638dedaec
commit
ff4046294b
1 changed files with 237 additions and 239 deletions
|
@ -557,7 +557,6 @@ static int ntrig_event (struct hid_device *hid, struct hid_field *field,
|
|||
if (field->application == HID_DG_PEN)
|
||||
return 0;
|
||||
|
||||
if (hid->claimed & HID_CLAIMED_INPUT) {
|
||||
switch (usage->hid) {
|
||||
case 0xff000001:
|
||||
/* Tag indicating the start of a multitouch group */
|
||||
|
@ -819,7 +818,6 @@ static int ntrig_event (struct hid_device *hid, struct hid_field *field,
|
|||
/* fall-back to the generic hidinput handling */
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
not_claimed_input:
|
||||
|
||||
|
|
Loading…
Reference in a new issue