Input: mxs-lradc - remove redundant assignment to pointer input
authorColin Ian King <colin.king@canonical.com>
Fri, 27 Oct 2017 22:29:24 +0000 (15:29 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 27 Oct 2017 22:48:00 +0000 (15:48 -0700)
commit11772c9c185735e244731e23b1983d5c7ab03c80
tree500366dd19fe23884d3197258c834a6ee2fce9b9
parent7e577a17f2eefeef32f1106ebf91e7cd143ba654
Input: mxs-lradc - remove redundant assignment to pointer input

The pointer 'input' is being initialized with ts->ts_input and this
value is not being read as it is updated a few lines later with the
return value from the call to devm_input_allocate_device. Remove the
redundant initialization assignment.  Cleans up clang warning:

drivers/input/touchscreen/mxs-lradc-ts.c:587:20: warning: Value Xi
stored to 'input' during its initialization is never read

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/mxs-lradc-ts.c