[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ZcZ0uT4hCZuJPL7z@google.com>
Date: Fri, 9 Feb 2024 10:53:45 -0800
From: Dmitry Torokhov <dmitry.torokhov@...il.com>
To: Colin Ian King <colin.i.king@...il.com>
Cc: linux-input@...r.kernel.org, kernel-janitors@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH][next] input: ti_am335x_tsc: remove redundant assignment
to variable config
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@...il.com>
Applied, thank you.
--
Dmitry
Powered by blists - more mailing lists