]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
brcmsmac: phy_lcn: remove duplicate code
authorGustavo A. R. Silva <gustavo@embeddedor.com>
Thu, 5 Apr 2018 00:09:44 +0000 (19:09 -0500)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 25 Apr 2018 08:23:41 +0000 (11:23 +0300)
commit863683cfbbfcd48ae88e2af880f52b91332f1f26
tree6a99db7ccbb4a4402ed48f0222b356c78fa8f7cb
parent1f589e2510d5df1192dca7c089103a2cbd028101
brcmsmac: phy_lcn: remove duplicate code

Remove and refactor some code in order to avoid having identical code
for different branches.

Notice that this piece of code hasn't been modified since 2011.

Addresses-Coverity-ID: 1226756 ("Identical code for different branches")
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c