[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <170558309941.2924528.648376255659040623.kvalo@kernel.org>
Date: Thu, 18 Jan 2024 13:05:01 +0000 (UTC)
From: Kalle Valo <kvalo@...nel.org>
To: Artem Chernyshev <artem.chernyshev@...-soft.ru>
Cc: Jonas Gorski <jonas.gorski@...il.com>,
Franky Lin <franky.lin@...adcom.com>,
Artem Chernyshev <artem.chernyshev@...-soft.ru>,
Hante Meuleman <hante.meuleman@...adcom.com>,
Arend van Spriel <aspriel@...il.com>, linux-wireless@...r.kernel.org,
brcm80211-dev-list.pdl@...adcom.com, SHA-cyfmac-dev-list@...ineon.com,
linux-kernel@...r.kernel.org, lvc-project@...uxtesting.org
Subject: Re: [v2] wifi: brcmsmac: phy: Remove unreachable code
Artem Chernyshev <artem.chernyshev@...-soft.ru> wrote:
> wlc_phy_txpwr_srom_read_nphy() in wlc_phy_attach_nphy() can not
> return false, so it's impossible to get true value in this
> if-statement. Also change those functions return types to void
> since no one using it.
>
> Found by Linux Verification Center (linuxtesting.org) with SVACE.
>
> Signed-off-by: Artem Chernyshev <artem.chernyshev@...-soft.ru>
> Reviewed-by: Jonas Gorski <jonas.gorski@...il.com>
Patch applied to wireless-next.git, thanks.
47f0e32ffe4e wifi: brcmsmac: phy: Remove unreachable code
--
https://patchwork.kernel.org/project/linux-wireless/patch/20230814093621.289754-1-artem.chernyshev@red-soft.ru/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
Powered by blists - more mailing lists