[lvc-project] [PATCH v2] brcm80211: brcmsmac: phy: Remove unreachable code
Jonas Gorski
jonas.gorski at gmail.com
Fri Aug 25 11:34:07 MSK 2023
Hi,
On Mon, 14 Aug 2023 at 11:36, Artem Chernyshev
<artem.chernyshev at red-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 at red-soft.ru>
Since Broadcom seems to be on vacation or so, have a
Reviewed-by: Jonas Gorski <jonas.gorski at gmail.com>
to have at least some feedback.
Regards,
Jonas
More information about the lvc-project
mailing list