Re: [PATCH][next] wifi: ath9k: remove redundant assignment to variable ret

From: Toke Høiland-Jørgensen
Date: Fri Jan 26 2024 - 08:39:17 EST


Colin Ian King <colin.i.king@xxxxxxxxx> 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@xxxxxxxxx>

Acked-by: Toke Høiland-Jørgensen <toke@xxxxxxx>