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