staging: rtl8723bs: remove cckrates{only}_included()
authorMichael Straube <straube.linux@gmail.com>
Sun, 13 Sep 2020 16:22:05 +0000 (18:22 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 14 Sep 2020 15:41:02 +0000 (17:41 +0200)
commit7d955952625e5ea026b4dd2ce787eb24ebb2aed4
treef98066855f4d467469e362d8427a5a6da97ea589
parent1622d35453132a1acd6d650175f9f45e4bcf553e
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>
drivers/staging/rtl8723bs/core/rtw_wlan_util.c
drivers/staging/rtl8723bs/include/rtw_mlme_ext.h