From: Benjamin Tissoires Date: Wed, 27 Feb 2013 15:23:15 +0000 (+0100) Subject: HID: multitouch: remove useless last_field_index field X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~105^2~2^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5b62efd8250d6a751c31d1972e96bfccd19c4679;p=pandora-kernel.git 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 Signed-off-by: Jiri Kosina --- Reading git-diff-tree failed