[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <877cjw2p04.fsf@toke.dk>
Date: Fri, 26 Jan 2024 14:38:51 +0100
From: Toke Høiland-Jørgensen <toke@...e.dk>
To: Colin Ian King <colin.i.king@...il.com>, Kalle Valo <kvalo@...nel.org>,
linux-wireless@...r.kernel.org
Cc: kernel-janitors@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH][next] wifi: ath9k: remove redundant assignment to
variable ret
Colin Ian King <colin.i.king@...il.com> writes:
> The variable ret is being assigned a value but it isn't being
> read afterwards. The assignment is redundant and so ret can be
> removed.
>
> Cleans up clang scan build warning:
> warning: Although the value stored to 'ret' is used in the
> enclosing expression, the value is never actually read from
> 'ret' [deadcode.DeadStores]
>
> Signed-off-by: Colin Ian King <colin.i.king@...il.com>
Acked-by: Toke Høiland-Jørgensen <toke@...e.dk>
Powered by blists - more mailing lists