Re: [PATCH] HID: multitouch: remove useless last_field_index field

From
Jiri Kosina <hidden>
Date
2013-03-07 14:20:36
Also in
lkml
Reply to
Benjamin Tissoires, 2013-02-27
On Wed, 27 Feb 2013, Benjamin Tissoires wrote:
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 <redacted>
Applied, thanks.

-- 
Jiri Kosina
SUSE Labs
Thread (2 messages) 2 messages, 2 authors, last reply 2013-03-07
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help