[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <170789857574.3088943.8807931927830576356.kvalo@kernel.org>
Date: Wed, 14 Feb 2024 08:16:17 +0000 (UTC)
From: Kalle Valo <kvalo@...nel.org>
To: Colin Ian King <colin.i.king@...il.com>
Cc: Christian Lamparter <chunkeey@...glemail.com>,
linux-wireless@...r.kernel.org, kernel-janitors@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH][next] carl9170: Remove redundant assignment to pointer
super
Colin Ian King <colin.i.king@...il.com> wrote:
> 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@...il.com>
> Acked-by: Christian Lamparter <chunkeey@...il.com>
> Signed-off-by: Kalle Valo <quic_kvalo@...cinc.com>
Patch applied to ath-next branch of ath.git, thanks.
b53adefc884c wifi: carl9170: Remove redundant assignment to pointer super
--
https://patchwork.kernel.org/project/linux-wireless/patch/20240207171524.2458418-1-colin.i.king@gmail.com/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
Powered by blists - more mailing lists