diff options
| author | Ingyu Jang <ingyujang25@korea.ac.kr> | 2026-02-01 02:23:55 +0900 |
|---|---|---|
| committer | Johannes Berg <johannes.berg@intel.com> | 2026-02-03 13:11:12 +0100 |
| commit | 9825fa8f49905275acef6c8e7fcd017d04616311 (patch) | |
| tree | 63c362643f462a8a4776a09a9cce2c2010d6c71b /include/linux | |
| parent | 19dd0cc36a52d0d121d7854cbb9b00d6d4dcad0a (diff) | |
wifi: brcmsmac: phy: Remove unreachable error handling code
wlc_phy_txpwr_srom_read_lcnphy() in wlc_phy_attach_lcnphy() always
returns true, making the error handling code unreachable. Change the
function's return type to void and remove the dead code, similar to
the cleanup done for wlc_phy_txpwr_srom_read_nphy() in commit
47f0e32ffe4e ("wifi: brcmsmac: phy: Remove unreachable code").
Signed-off-by: Ingyu Jang <ingyujang25@korea.ac.kr>
Acked-by: Arend van Spriel <arend.vanspriel@broadcom.com>
Link: https://patch.msgid.link/20260131172355.3367673-1-ingyujang25@korea.ac.kr
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
