staging: rtl8723bs: remove 5Ghz field in struct registry_priv
authorFabio Aiuto <fabioaiuto83@gmail.com>
Tue, 22 Jun 2021 13:09:49 +0000 (15:09 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 24 Jun 2021 12:43:45 +0000 (14:43 +0200)
remove unused 5Ghz field in struct registry_priv.

Acked-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Fabio Aiuto <fabioaiuto83@gmail.com>
Link: https://lore.kernel.org/r/3a58fae5330a321dd570d1a7931a5b17bb3996a8.1624367071.git.fabioaiuto83@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/include/drv_types.h
drivers/staging/rtl8723bs/os_dep/os_intfs.c

index 02df5bd..895c415 100644 (file)
@@ -171,9 +171,7 @@ struct registry_priv {
        u8 RegPowerBase;
        u8 RegPwrTblSel;
        s8      TxBBSwing_2G;
-       s8      TxBBSwing_5G;
        u8 AmplifierType_2G;
-       u8 AmplifierType_5G;
        u8 bEn_RFE;
        u8 RFE_Type;
        u8  check_fw_ps;
index a06c8b1..648456b 100644 (file)
@@ -289,7 +289,6 @@ static void loadparam(struct adapter *padapter, struct net_device *pnetdev)
 
        registry_par->RegPowerBase = 14;
        registry_par->TxBBSwing_2G = 0xFF;
-       registry_par->TxBBSwing_5G = 0xFF;
        registry_par->bEn_RFE = 1;
        registry_par->RFE_Type = 64;