Commit 05d7d4ba authored by Fabio Aiuto's avatar Fabio Aiuto Committed by Greg Kroah-Hartman

staging: rtl8723bs: remove unused rtw_rf_config module param

remove unused rtw_rf_config module param and struct field
used to store the param value.
Signed-off-by: default avatarFabio Aiuto <fabioaiuto83@gmail.com>
Link: https://lore.kernel.org/r/a83eaa9b2350d3d16f5b1dddc40870e0f0a6df06.1628329348.git.fabioaiuto83@gmail.comSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 24e65aac
...@@ -132,7 +132,6 @@ struct registry_priv { ...@@ -132,7 +132,6 @@ struct registry_priv {
u8 lowrate_two_xmit; u8 lowrate_two_xmit;
u8 rf_config;
u8 low_power; u8 low_power;
u8 wifi_spec;/* !turbo_mode */ u8 wifi_spec;/* !turbo_mode */
......
...@@ -89,8 +89,6 @@ static int rtw_beamform_cap = 0x2; ...@@ -89,8 +89,6 @@ static int rtw_beamform_cap = 0x2;
static int rtw_lowrate_two_xmit = 1;/* Use 2 path Tx to transmit MCS0~7 and legacy mode */ static int rtw_lowrate_two_xmit = 1;/* Use 2 path Tx to transmit MCS0~7 and legacy mode */
/* int rf_config = RF_1T2R; 1T2R */
static int rtw_rf_config = RF_MAX_TYPE; /* auto */
static int rtw_low_power; static int rtw_low_power;
static int rtw_wifi_spec; static int rtw_wifi_spec;
static int rtw_channel_plan = RT_CHANNEL_DOMAIN_MAX; static int rtw_channel_plan = RT_CHANNEL_DOMAIN_MAX;
...@@ -144,7 +142,6 @@ module_param(rtw_ampdu_amsdu, int, 0644); ...@@ -144,7 +142,6 @@ module_param(rtw_ampdu_amsdu, int, 0644);
module_param(rtw_lowrate_two_xmit, int, 0644); module_param(rtw_lowrate_two_xmit, int, 0644);
module_param(rtw_rf_config, int, 0644);
module_param(rtw_power_mgnt, int, 0644); module_param(rtw_power_mgnt, int, 0644);
module_param(rtw_smart_ps, int, 0644); module_param(rtw_smart_ps, int, 0644);
module_param(rtw_low_power, int, 0644); module_param(rtw_low_power, int, 0644);
...@@ -249,7 +246,6 @@ static void loadparam(struct adapter *padapter, struct net_device *pnetdev) ...@@ -249,7 +246,6 @@ static void loadparam(struct adapter *padapter, struct net_device *pnetdev)
registry_par->beamform_cap = (u8)rtw_beamform_cap; registry_par->beamform_cap = (u8)rtw_beamform_cap;
registry_par->lowrate_two_xmit = (u8)rtw_lowrate_two_xmit; registry_par->lowrate_two_xmit = (u8)rtw_lowrate_two_xmit;
registry_par->rf_config = (u8)rtw_rf_config;
registry_par->low_power = (u8)rtw_low_power; registry_par->low_power = (u8)rtw_low_power;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment