]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
rtlwifi: remove duplicate code
authorGustavo A. R. Silva <gustavo@embeddedor.com>
Thu, 24 May 2018 18:54:50 +0000 (13:54 -0500)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 29 May 2018 07:28:24 +0000 (10:28 +0300)
commit06895b1627fe36f0bea49d4c9fd0e27f0f7498b1
tree9675d05e3851607e3f9724fd777f5ad976c92d0c
parentdb69f4e05bd5c83ea66b156fddd7cfc562092bbc
rtlwifi: remove duplicate code

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

Notice that the logic has been there since 2014.

Addresses-Coverity-ID: 1426199 ("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/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c