diff options
author | Michael Straube <straube.linux@gmail.com> | 2020-09-13 18:22:05 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-09-14 17:41:02 +0200 |
commit | 7d955952625e5ea026b4dd2ce787eb24ebb2aed4 (patch) | |
tree | f98066855f4d467469e362d8427a5a6da97ea589 /drivers/staging/rtl8723bs/include/rtw_mlme_ext.h | |
parent | Merge 5.9-rc5 into staging-next (diff) | |
download | linux-dev-7d955952625e5ea026b4dd2ce787eb24ebb2aed4.tar.xz linux-dev-7d955952625e5ea026b4dd2ce787eb24ebb2aed4.zip |
staging: rtl8723bs: remove cckrates{only}_included()
In rtw_ieee80211.c there are rtw_is_cckrates_included() and
rtw_is_cckratesonly_included() which have the same functionality as
cckrates_included() and cckrates_only_included() defined in
rtw_wlan_util.c. Remove the functions from rtw_wlan_util.c and use
those from rtw_ieee80211.c. Remove the now unused variable ratelen.
Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20200913162206.19477-1-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8723bs/include/rtw_mlme_ext.h')
-rw-r--r-- | drivers/staging/rtl8723bs/include/rtw_mlme_ext.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/staging/rtl8723bs/include/rtw_mlme_ext.h b/drivers/staging/rtl8723bs/include/rtw_mlme_ext.h index 14583799039f..1567831caf91 100644 --- a/drivers/staging/rtl8723bs/include/rtw_mlme_ext.h +++ b/drivers/staging/rtl8723bs/include/rtw_mlme_ext.h @@ -716,8 +716,6 @@ void sa_query_timer_hdl(struct timer_list *t); DBG_871X("%s set_sa_query_timer(%p, %d)\n", __func__, (mlmeext), (ms)); \ _set_timer(&(mlmeext)->sa_query_timer, (ms)); \ } while (0) -extern int cckrates_included(unsigned char *rate, int ratelen); -extern int cckratesonly_included(unsigned char *rate, int ratelen); extern void process_addba_req(struct adapter *padapter, u8 *paddba_req, u8 *addr); |