staging: r8188eu: remove module parameter rtw_rf_config
The module parameter rtw_rf_config is not used in the driver. Remove it and remove the now unused enum rt_rf_type_def. Signed-off-by: Michael Straube <straube.linux@gmail.com> Link: https://lore.kernel.org/r/20211128170924.5874-11-straube.linux@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
8bdb3f27d0
commit
6732886cf0
@ -85,7 +85,6 @@ struct registry_priv {
|
||||
u8 ampdu_amsdu;/* A-MPDU Supports A-MSDU is permitted */
|
||||
u8 lowrate_two_xmit;
|
||||
|
||||
u8 rf_config;
|
||||
u8 low_power;
|
||||
|
||||
u8 wifi_spec;/* !turbo_mode */
|
||||
|
@ -99,16 +99,6 @@ enum ht_extchnl_offset {
|
||||
HT_EXTCHNL_OFFSET_LOWER = 3,
|
||||
};
|
||||
|
||||
/* 2007/11/15 MH Define different RF type. */
|
||||
enum rt_rf_type_def {
|
||||
RF_1T2R = 0,
|
||||
RF_2T4R = 1,
|
||||
RF_2T2R = 2,
|
||||
RF_1T1R = 3,
|
||||
RF_2T2R_GREEN = 4,
|
||||
RF_819X_MAX_TYPE = 5,
|
||||
};
|
||||
|
||||
u32 rtw_ch2freq(u32 ch);
|
||||
|
||||
#endif /* _RTL8711_RF_H_ */
|
||||
|
@ -75,7 +75,6 @@ static int rtw_ampdu_amsdu;/* 0: disabled, 1:enabled, 2:auto */
|
||||
|
||||
static int rtw_lowrate_two_xmit = 1;/* Use 2 path Tx to transmit MCS0~7 and legacy mode */
|
||||
|
||||
static int rtw_rf_config = RF_819X_MAX_TYPE; /* auto */
|
||||
static int rtw_low_power;
|
||||
static int rtw_wifi_spec;
|
||||
static int rtw_channel_plan = RT_CHANNEL_DOMAIN_MAX;
|
||||
@ -123,7 +122,6 @@ module_param(rtw_ampdu_enable, int, 0644);
|
||||
module_param(rtw_rx_stbc, int, 0644);
|
||||
module_param(rtw_ampdu_amsdu, 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_smart_ps, int, 0644);
|
||||
module_param(rtw_low_power, int, 0644);
|
||||
@ -205,7 +203,6 @@ static uint loadparam(struct adapter *padapter)
|
||||
registry_par->rx_stbc = (u8)rtw_rx_stbc;
|
||||
registry_par->ampdu_amsdu = (u8)rtw_ampdu_amsdu;
|
||||
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->wifi_spec = (u8)rtw_wifi_spec;
|
||||
registry_par->channel_plan = (u8)rtw_channel_plan;
|
||||
|
Loading…
x
Reference in New Issue
Block a user