[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <YjgHWeTiAWRty3rK@google.com>
Date: Sun, 20 Mar 2022 22:04:25 -0700
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, llvm@...ts.linux.dev
Subject: Re: [PATCH] Input: adi: remove redundant variable z
On Fri, Mar 18, 2022 at 12:23:18AM +0000, Colin Ian King wrote:
> Variable z is being assigned a value that is never read, the
> variable is redundant and can be removed.
>
> Cleans up clang scan build warning:
> drivers/input/joystick/adi.c:139:6: warning: Although the
> value stored to 'z' is used in the enclosing expression,
> the value is never actually read from 'z' [deadcode.DeadStores]
>
> Signed-off-by: Colin Ian King <colin.i.king@...il.com>
Applied, thank you.
--
Dmitry
Powered by blists - more mailing lists