aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/rtl8723bs/include/hal_com.h
diff options
context:
space:
mode:
authorNishka Dasgupta <nishkadg.linux@gmail.com>2019-06-28 16:28:34 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-07-01 10:49:44 +0200
commit777a43348af3140c7a26116b2747fad41d7d425c (patch)
tree6592196d99e9c2c4a4dc3a85a70b13d38ab0a343 /drivers/staging/rtl8723bs/include/hal_com.h
parentstaging: rtl8723bs: Change return type of networktype_to_raid_ex() (diff)
downloadlinux-dev-777a43348af3140c7a26116b2747fad41d7d425c.tar.xz
linux-dev-777a43348af3140c7a26116b2747fad41d7d425c.zip
staging: rtl8723bs: Remove rtw_hal_networktype_to_raid()
Change call sites of rtw_hal_networktype_to_raid to instead call networktype_to_raid_ex as rtw_hal_networktype_to_raid does nothing except call networktype_to_raid_ex. Remove now-unused function rtw_hal_networktype_to_raid. Issue found with Coccinelle. Signed-off-by: Nishka Dasgupta <nishkadg.linux@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8723bs/include/hal_com.h')
-rw-r--r--drivers/staging/rtl8723bs/include/hal_com.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/staging/rtl8723bs/include/hal_com.h b/drivers/staging/rtl8723bs/include/hal_com.h
index d1c5b3193043..f5c3ce5da70c 100644
--- a/drivers/staging/rtl8723bs/include/hal_com.h
+++ b/drivers/staging/rtl8723bs/include/hal_com.h
@@ -232,7 +232,6 @@ void rtw_init_hal_com_default_value(struct adapter * Adapter);
void c2h_evt_clear(struct adapter *adapter);
s32 c2h_evt_read_88xx(struct adapter *adapter, u8 *buf);
-u8 rtw_hal_networktype_to_raid(struct adapter *adapter, struct sta_info *psta);
u8 rtw_get_mgntframe_raid(struct adapter *adapter, unsigned char network_type);
void rtw_hal_update_sta_rate_mask(struct adapter *padapter, struct sta_info *psta);