staging: r8188eu: remove rf_type from struct hal_data_8188e

The field rf_type of struct hal_data_8188e is set to RF_1T1R and
never changed. Also it is used only in a call to netdev_dbg() which
is not very useful since RTL8188EU chips are always 1T1R. Remove
the netdev_dbg() and remove rf_type from the hal_data_8188e
structure.

Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20211128170924.5874-10-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Michael Straube 2021-11-28 18:09:23 +01:00 committed by Greg Kroah-Hartman
parent 5f56585eea
commit 8bdb3f27d0
2 changed files with 0 additions and 7 deletions

View File

@ -854,10 +854,6 @@ void rtl8188e_read_chip_version(struct adapter *padapter)
dump_chip_info(ChipVersion);
pHalData->VersionID = ChipVersion;
pHalData->rf_type = RF_1T1R;
netdev_dbg(padapter->pnetdev, "RF_Type is %x!!\n", pHalData->rf_type);
}
void rtl8188e_SetHalODMVar(struct adapter *Adapter, enum hal_odm_variable eVariable, void *pValue1, bool bSet)

View File

@ -168,9 +168,6 @@ struct hal_data_8188e {
u16 BasicRateSet;
/* rf_ctrl */
u8 rf_type;
/* EEPROM setting. */
u16 EEPROMSVID;
u16 EEPROMSDID;