Input: synaptics-rmi4 - remove unneeded variable
authorAndrew Duggan <aduggan@synaptics.com>
Thu, 14 Jul 2016 16:38:04 +0000 (09:38 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 14 Jul 2016 16:43:43 +0000 (09:43 -0700)
commit546ae1085b2772de47221c8780c000ee9829545d
tree4a9ebac31dcb22f7ea50b545e0bea1b174f506c4
parente21582956005bb1677b0c2f9caf1042020f45408
Input: synaptics-rmi4 - remove unneeded variable

Remove the data_base_addr_offset variable in rmi_f11_attention(). The
f11 data is read as a single block so there is no need to store an offset
to the data address.

Signed-off-by: Andrew Duggan <aduggan@synaptics.com>
Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Reviewed-by: Nick Dyer <nick@shmanahar.org>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/rmi4/rmi_f11.c