diff options
author | Benjamin Tissoires <benjamin.tissoires@redhat.com> | 2013-02-27 15:23:15 (GMT) |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2013-03-07 14:20:25 (GMT) |
commit | 5b62efd8250d6a751c31d1972e96bfccd19c4679 (patch) | |
tree | fa38a2e5f651602dddb0014677d92048f64e0d77 /drivers/hid/usbhid/hid-pidff.c | |
parent | 48a732dfaa77a4dfec803aa8f248373998704f76 (diff) | |
download | linux-fsl-qoriq-5b62efd8250d6a751c31d1972e96bfccd19c4679.tar.xz |
HID: multitouch: remove useless last_field_index field
The aim of last_field_index was to detect the end of the report.
With the introduction of .report(), it is not required anymore to
detect it on the fly as we can put it in the right place during the
.report().
The resulting code path is simpler to read because the terminating
condition is not evaluated after each field.
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/usbhid/hid-pidff.c')
0 files changed, 0 insertions, 0 deletions