staging: rtl8188eu: remove unused hal_data_8188e members
authorMartin Kaiser <martin@kaiser.cx>
Sat, 12 Jun 2021 18:00:14 +0000 (20:00 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 14 Jun 2021 14:42:58 +0000 (16:42 +0200)
Remove some members of struct hal_data_8188e which are not used
in this driver.

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

index 0c4c23b..b2d85da 100644 (file)
@@ -233,7 +233,6 @@ struct hal_data_8188e {
        u8      PwrGroupHT20[RF_PATH_MAX][CHANNEL_MAX_NUMBER];
        u8      PwrGroupHT40[RF_PATH_MAX][CHANNEL_MAX_NUMBER];
 
-       u8      LegacyHTTxPowerDiff;/*  Legacy to HT rate power diff */
        /*  The current Tx Power Level */
        u8      CurrentCckTxPwrIdx;
        u8      CurrentOfdm24GTxPwrIdx;
@@ -242,12 +241,8 @@ struct hal_data_8188e {
 
        /*  Read/write are allow for following hardware information variables */
        u8      framesync;
-       u32     framesyncC34;
-       u8      framesyncMonitor;
-       u8      DefaultInitialGain[4];
        u8      pwrGroupCnt;
        u32     MCSTxPowerLevelOriginalOffset[MAX_PG_GROUP][16];
-       u32     CCKTxPowerLevelOriginalOffset;
 
        u8      CrystalCap;
 
@@ -284,9 +279,6 @@ struct hal_data_8188e {
                                        *  beacon in TxQ.
                                        */
 
-       /*  2010/08/09 MH Add CU power down mode. */
-       bool            pwrdown;
-
        /*  Add for dual MAC  0--Mac0 1--Mac1 */
        u32     interfaceIndex;
 
@@ -309,7 +301,6 @@ struct hal_data_8188e {
        u8      UsbTxAggMode;
        u8      UsbTxAggDescNum;
        u16     HwRxPageSize;           /*  Hardware setting */
-       u32     MaxUsbRxAggBlock;
 
        enum usb_rx_agg_mode UsbRxAggMode;
        u8      UsbRxAggBlockCount;     /*  USB Block count. Block size is