Re: [PATCH][next] carl9170: Remove redundant assignment to pointer super

From: Kalle Valo
Date: Wed Feb 07 2024 - 13:16:42 EST


Colin Ian King <colin.i.king@xxxxxxxxx> writes:

> The pointer super is being assigned a value that is not being read, it
> is being re-assigned later. The assignment is redundant and can be
> removed.
>
> Cleans up clang scan warning:
> drivers/net/wireless/ath/carl9170/tx.c:192:34: warning: Value stored to
> 'super' during its initialization is never read [deadcode.DeadStores]
>
> Signed-off-by: Colin Ian King <colin.i.king@xxxxxxxxx>

Same here, "wifi:" missing. I can add it, no need to resend because of
this.

--
https://patchwork.kernel.org/project/linux-wireless/list/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches