summaryrefslogtreecommitdiff
path: root/drivers/hid/hid-roccat.c
diff options
context:
space:
mode:
authorBenjamin Tissoires <benjamin.tissoires@redhat.com>2013-02-27 15:23:15 (GMT)
committerJiri Kosina <jkosina@suse.cz>2013-03-07 14:20:25 (GMT)
commit5b62efd8250d6a751c31d1972e96bfccd19c4679 (patch)
treefa38a2e5f651602dddb0014677d92048f64e0d77 /drivers/hid/hid-roccat.c
parent48a732dfaa77a4dfec803aa8f248373998704f76 (diff)
downloadlinux-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/hid-roccat.c')
0 files changed, 0 insertions, 0 deletions