mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2024-11-25 22:13:41 +00:00
rtl8723bs: Remove rtw_chip_version as module parameter
This parameter might be useful when the original driver was developed, but it is useless in production code. Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
69fded9155
commit
2601c36dd9
2 changed files with 1 additions and 5 deletions
|
@ -91,11 +91,10 @@ struct specific_device_id{
|
|||
};
|
||||
|
||||
struct registry_priv {
|
||||
u8 chip_version;
|
||||
struct ndis_802_11_ssid ssid;
|
||||
u8 rfintfs;
|
||||
u8 lbkmode;
|
||||
u8 hci;
|
||||
struct ndis_802_11_ssid ssid;
|
||||
u8 network_mode; /* infra, ad-hoc, auto */
|
||||
u8 channel;/* ad-hoc support requirement */
|
||||
u8 wireless_mode;/* A, B, G, auto */
|
||||
|
|
|
@ -43,7 +43,6 @@ MODULE_AUTHOR("Realtek Semiconductor Corp.");
|
|||
MODULE_VERSION(DRIVERVERSION);
|
||||
|
||||
/* module param defaults */
|
||||
static int rtw_chip_version = 0x00;
|
||||
static int rtw_rfintfs = HWPI;
|
||||
static int rtw_lbkmode = 0;/* RTL8712_AIR_TRX; */
|
||||
|
||||
|
@ -163,7 +162,6 @@ char* rtw_initmac = NULL; /* temp mac address if users want to use instead of
|
|||
|
||||
module_param(rtw_initmac, charp, 0644);
|
||||
module_param(rtw_channel_plan, int, 0644);
|
||||
module_param(rtw_chip_version, int, 0644);
|
||||
module_param(rtw_rfintfs, int, 0644);
|
||||
module_param(rtw_lbkmode, int, 0644);
|
||||
module_param(rtw_network_mode, int, 0644);
|
||||
|
@ -258,7 +256,6 @@ static uint loadparam( struct adapter *padapter, struct net_device * pnetdev)
|
|||
struct registry_priv *registry_par = &padapter->registrypriv;
|
||||
|
||||
GlobalDebugLevel = rtw_debug;
|
||||
registry_par->chip_version = (u8)rtw_chip_version;
|
||||
registry_par->rfintfs = (u8)rtw_rfintfs;
|
||||
registry_par->lbkmode = (u8)rtw_lbkmode;
|
||||
/* registry_par->hci = (u8)hci; */
|
||||
|
|
Loading…
Reference in a new issue