Search Linux Wireless

Re: [v2] wifi: brcmsmac: phy: Remove unreachable code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Artem Chernyshev <artem.chernyshev@xxxxxxxxxxx> 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@xxxxxxxxxxx>
> Reviewed-by: Jonas Gorski <jonas.gorski@xxxxxxxxx>

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@xxxxxxxxxxx/

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





[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux