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

From: Jiri Kosina
Date: Thu Mar 07 2013 - 09:20:39 EST


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 <benjamin.tissoires@xxxxxxxxxx>

Applied, thanks.

--
Jiri Kosina
SUSE Labs
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/