[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <eb2f0bb7-46ee-2290-6b60-90f555e4811c@canonical.com>
Date: Thu, 30 Dec 2021 20:58:44 +0100
From: Krzysztof Kozlowski <krzysztof.kozlowski@...onical.com>
To: Colin Ian King <colin.i.king@...il.com>,
"David S . Miller" <davem@...emloft.net>, netdev@...r.kernel.org
Cc: kernel-janitors@...r.kernel.org, llvm@...ts.linux.dev,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] nfc: st21nfca: remove redundant assignment to variable i
On 30/12/2021 17:12, Colin Ian King wrote:
> Variable i is being assigned a value that is never read, the
> assignment is redundant and can be removed. Cleans up clang-scan
> build warning:
>
> drivers/nfc/st21nfca/i2c.c:319:4: warning: Value stored to 'i'
> is never read [deadcode.DeadStores]
> i = 0;
>
> Signed-off-by: Colin Ian King <colin.i.king@...il.com>
> ---
> drivers/nfc/st21nfca/i2c.c | 4 +---
> 1 file changed, 1 insertion(+), 3 deletions(-)
>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@...onical.com>
Best regards,
Krzysztof
Powered by blists - more mailing lists