diff options
| author | Ethan Tidmore <ethantidmore06@gmail.com> | 2026-01-26 19:21:18 -0600 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2026-01-27 15:51:15 +0100 |
| commit | 1d264b88aea94c41470fb3e02caf068053396c73 (patch) | |
| tree | 9b12658434e6177b231f101a5bdd28ba06705de7 /drivers | |
| parent | c003c3789876fc8edcc4014eaf011fca6c8de986 (diff) | |
staging: rtl8723bs: remove unused variable RFE_Type
The variable RFE_Type is initialized but never read or used
anywhere in the driver. Remove it to clean up dead code and fix
a CamelCase warning.
Signed-off-by: Ethan Tidmore <ethantidmore06@gmail.com>
Link: https://patch.msgid.link/20260127012118.43037-9-ethantidmore06@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
| -rw-r--r-- | drivers/staging/rtl8723bs/include/drv_types.h | 1 | ||||
| -rw-r--r-- | drivers/staging/rtl8723bs/os_dep/os_intfs.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/drivers/staging/rtl8723bs/include/drv_types.h b/drivers/staging/rtl8723bs/include/drv_types.h index 00da21774c4d..11e1feade4e4 100644 --- a/drivers/staging/rtl8723bs/include/drv_types.h +++ b/drivers/staging/rtl8723bs/include/drv_types.h @@ -160,7 +160,6 @@ struct registry_priv { u8 reg_enable_tx_power_by_rate; u8 reg_power_base; u8 reg_pwr_tbl_sel; - u8 RFE_Type; u8 check_fw_ps; u8 qos_opt_enable; diff --git a/drivers/staging/rtl8723bs/os_dep/os_intfs.c b/drivers/staging/rtl8723bs/os_dep/os_intfs.c index c163e2eeea26..f7f23d1b1709 100644 --- a/drivers/staging/rtl8723bs/os_dep/os_intfs.c +++ b/drivers/staging/rtl8723bs/os_dep/os_intfs.c @@ -263,7 +263,6 @@ static void loadparam(struct adapter *padapter, struct net_device *pnetdev) registry_par->reg_enable_tx_power_by_rate = (u8)rtw_tx_pwr_by_rate; registry_par->reg_power_base = 14; - registry_par->RFE_Type = 64; registry_par->qos_opt_enable = (u8)rtw_qos_opt_enable; |
