Re: [PATCH] input: mxs-lradc: remove redundant assignment to pointer input

2017-10-27 Thread Dmitry Torokhov
On Fri, Oct 27, 2017 at 04:52:30PM +0100, Colin King wrote: > From: Colin Ian King > > 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

Re: [PATCH] input: mxs-lradc: remove redundant assignment to pointer input

2017-10-27 Thread Dmitry Torokhov
On Fri, Oct 27, 2017 at 04:52:30PM +0100, Colin King wrote: > From: Colin Ian King > > 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

[PATCH] input: mxs-lradc: remove redundant assignment to pointer input

2017-10-27 Thread Colin King
From: Colin Ian King 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

[PATCH] input: mxs-lradc: remove redundant assignment to pointer input

2017-10-27 Thread Colin King
From: Colin Ian King 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: