[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20180227164614.323FE60285@smtp.codeaurora.org>
Date: Tue, 27 Feb 2018 16:46:14 +0000 (UTC)
From: Kalle Valo <kvalo@...eaurora.org>
To: Colin Ian King <colin.king@...onical.com>
Cc: Jiri Slaby <jirislaby@...il.com>,
Nick Kossifidis <mickflemm@...il.com>,
"Luis R . Rodriguez" <mcgrof@...not-panic.com>,
linux-wireless@...r.kernel.org, netdev@...r.kernel.org,
kernel-janitors@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: ath5k: remove duplicated re-assignment to pointer 'tq'
Colin Ian King <colin.king@...onical.com> wrote:
> Pointer tq is initialized with &ah->ah_txq[queue] and then a few
> lines later is re-assigned the same value, hence this duplicate
> assignment is redundant and can be removed.
>
> Cleans up clang warning:
> drivers/net/wireless/ath/ath5k/qcu.c:326:25: warning: Value stored
> to 'tq' during its initialization is never read
>
> Signed-off-by: Colin Ian King <colin.king@...onical.com>
> Signed-off-by: Kalle Valo <kvalo@...eaurora.org>
Patch applied to ath-next branch of ath.git, thanks.
2571c081cb43 ath5k: remove duplicated re-assignment to pointer 'tq'
--
https://patchwork.kernel.org/patch/10195805/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
Powered by blists - more mailing lists