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)
|
if (field->application == HID_DG_PEN)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
if (hid->claimed & HID_CLAIMED_INPUT) {
|
|
||||||
switch (usage->hid) {
|
switch (usage->hid) {
|
||||||
case 0xff000001:
|
case 0xff000001:
|
||||||
/* Tag indicating the start of a multitouch group */
|
/* 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 */
|
/* fall-back to the generic hidinput handling */
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
not_claimed_input:
|
not_claimed_input:
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue