diff options
author | Artem Chernyshev <[email protected]> | 2023-08-14 12:36:21 +0300 |
---|---|---|
committer | Kalle Valo <[email protected]> | 2024-01-18 15:04:28 +0200 |
commit | 47f0e32ffe4ecfa038eadffad7f15831d0d843fb (patch) | |
tree | 3a4852c814d7ab64a9058405bb34fc86cfc7aa86 /lib/netdev-notifier-error-inject.c | |
parent | 92c7428f942da7dfcdc629b05b5114f80822d7a4 (diff) |
wifi: brcmsmac: phy: Remove unreachable code
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 <[email protected]>
Reviewed-by: Jonas Gorski <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Link: https://msgid.link/[email protected]
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions