staging: rtl8188eu: remove unused efuse hal components
authorMartin Kaiser <martin@kaiser.cx>
Tue, 6 Apr 2021 20:48:19 +0000 (22:48 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 7 Apr 2021 08:24:47 +0000 (10:24 +0200)
struct hal_data_8188e contains some components related to efuses which
are not used for rtl8188eu.

Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Link: https://lore.kernel.org/r/20210406204829.18130-1-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/include/rtl8188e_hal.h
drivers/staging/rtl8188eu/include/rtw_efuse.h

index 6035c12..0c4c23b 100644 (file)
@@ -211,10 +211,6 @@ struct hal_data_8188e {
        u8      bAPKThermalMeterIgnore;
 
        bool    EepromOrEfuse;
-       /* 92C:256bytes, 88E:512bytes, we use union set (512bytes) */
-       u8      EfuseMap[2][HWSET_MAX_SIZE_512];
-       u8      EfuseUsedPercentage;
-       struct efuse_hal        EfuseHal;
 
        u8      Index24G_CCK_Base[MAX_RF_PATH][CHANNEL_MAX_NUMBER];
        u8      Index24G_BW40_Base[MAX_RF_PATH][CHANNEL_MAX_NUMBER];
index 5926fc9..74182c3 100644 (file)
@@ -56,26 +56,6 @@ struct pgpkt {
        u8 word_cnts;
 };
 
-/*------------------------------Define structure----------------------------*/
-struct efuse_hal {
-       u8 fakeEfuseBank;
-       u32     fakeEfuseUsedBytes;
-       u8 fakeEfuseContent[EFUSE_MAX_HW_SIZE];
-       u8 fakeEfuseInitMap[EFUSE_MAX_MAP_LEN];
-       u8 fakeEfuseModifiedMap[EFUSE_MAX_MAP_LEN];
-
-       u16 BTEfuseUsedBytes;
-       u8 BTEfuseUsedPercentage;
-       u8 BTEfuseContent[EFUSE_MAX_BT_BANK][EFUSE_MAX_HW_SIZE];
-       u8 BTEfuseInitMap[EFUSE_BT_MAX_MAP_LEN];
-       u8 BTEfuseModifiedMap[EFUSE_BT_MAX_MAP_LEN];
-
-       u16 fakeBTEfuseUsedBytes;
-       u8 fakeBTEfuseContent[EFUSE_MAX_BT_BANK][EFUSE_MAX_HW_SIZE];
-       u8 fakeBTEfuseInitMap[EFUSE_BT_MAX_MAP_LEN];
-       u8 fakeBTEfuseModifiedMap[EFUSE_BT_MAX_MAP_LEN];
-};
-
 u8 Efuse_CalculateWordCnts(u8 word_en);
 u8 efuse_OneByteRead(struct adapter *adapter, u16 addr, u8 *data);
 u8 efuse_OneByteWrite(struct adapter *adapter, u16 addr, u8 data);