diff options
author | Colin Ian King <colin.king@canonical.com> | 2018-10-08 09:50:28 +0100 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2018-10-13 15:00:37 +0300 |
commit | c894696188d5c2af1e636e458190e80c53fb893d (patch) | |
tree | 7ebe8b503fc7094835070a5118df030dc4edf7b7 /drivers/net/wireless/broadcom/b43/b43.h | |
parent | 3d71c3f1f50cf309bd20659422af549bc784bfff (diff) |
rtlwifi: rtl8821ae: replace _rtl8821ae_mrate_idx_to_arfr_id with generic version
Function _rtl8821ae_mrate_idx_to_arfr_id is functionally identical to
the generic version rtl_mrate_idx_to_arfr_id, so remove
_rtl8821ae_mrate_idx_to_arfr_id and use the generic one instead.
This also fixes a missing break statement found by CoverityScan in
_rtl8821ae_mrate_idx_to_arfr_id, namely: CID#1167237 ("Missing break
in switch")
Thanks to Joe Perches for spotting this when I submitted an earlier patch.
Fixes: 3c05bedb5fef ("Staging: rtl8812ae: Add Realtek 8821 PCI WIFI driver")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
ACKed-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/broadcom/b43/b43.h')
0 files changed, 0 insertions, 0 deletions