Re: [PATCH][next] input: ti_am335x_tsc: remove redundant assignment to variable config

From: Dmitry Torokhov
Date: Fri Feb 09 2024 - 13:53:59 EST

On Mon, Feb 05, 2024 at 09:59:40PM +0000, Colin Ian King wrote:
> The variable config is being initialized with a value that is never
> read, it is being re-assigned in the next statement. The initialization
> is redundant and can be removed.
> Cleans up clang scan build warning:
> drivers/input/touchscreen/ti_am335x_tsc.c:160:2: warning: Value stored
> to 'config' is never read [deadcode.DeadStores]
> Signed-off-by: Colin Ian King <colin.i.king@xxxxxxxxx>

Applied, thank you.