staging: r8188eu: remove empty functions
Remove the following empty functions. Hal_InitChannelPlan() Hal_CustomizeByCustomerID_8188EU() _InitBeaconMaxError() Signed-off-by: Michael Straube <straube.linux@gmail.com> Link: https://lore.kernel.org/r/20210906190223.11396-7-straube.linux@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
70ea043f3d
commit
2dd431ad49
@ -2242,10 +2242,6 @@ void Hal_ReadThermalMeter_88E(struct adapter *Adapter, u8 *PROMContent, bool Aut
|
||||
DBG_88E("ThermalMeter = 0x%x\n", pHalData->EEPROMThermalMeter);
|
||||
}
|
||||
|
||||
void Hal_InitChannelPlan(struct adapter *padapter)
|
||||
{
|
||||
}
|
||||
|
||||
bool HalDetectPwrDownMode88E(struct adapter *Adapter)
|
||||
{
|
||||
u8 tmpvalue = 0;
|
||||
|
@ -403,10 +403,6 @@ static void _InitEDCA(struct adapter *Adapter)
|
||||
rtw_write32(Adapter, REG_EDCA_VO_PARAM, 0x002FA226);
|
||||
}
|
||||
|
||||
static void _InitBeaconMaxError(struct adapter *Adapter, bool InfraMode)
|
||||
{
|
||||
}
|
||||
|
||||
static void _InitHWLed(struct adapter *Adapter)
|
||||
{
|
||||
struct led_priv *pledpriv = &Adapter->ledpriv;
|
||||
@ -819,7 +815,6 @@ static u32 rtl8188eu_hal_init(struct adapter *Adapter)
|
||||
InitUsbAggregationSetting(Adapter);
|
||||
_InitOperationMode(Adapter);/* todo */
|
||||
_InitBeaconParameters(Adapter);
|
||||
_InitBeaconMaxError(Adapter, true);
|
||||
|
||||
/* */
|
||||
/* Init CR MACTXEN, MACRXEN after setting RxFF boundary REG_TRXFF_BNDY to patch */
|
||||
@ -1140,10 +1135,6 @@ static void Hal_EfuseParseMACAddr_8188EU(struct adapter *adapt, u8 *hwinfo, bool
|
||||
}
|
||||
}
|
||||
|
||||
static void Hal_CustomizeByCustomerID_8188EU(struct adapter *adapt)
|
||||
{
|
||||
}
|
||||
|
||||
static void
|
||||
readAdapterInfo_8188EU(
|
||||
struct adapter *adapt
|
||||
@ -1166,12 +1157,6 @@ readAdapterInfo_8188EU(
|
||||
Hal_EfuseParseBoardType88E(adapt, eeprom->efuse_eeprom_data, eeprom->bautoload_fail_flag);
|
||||
Hal_ReadThermalMeter_88E(adapt, eeprom->efuse_eeprom_data, eeprom->bautoload_fail_flag);
|
||||
|
||||
/* */
|
||||
/* The following part initialize some vars by PG info. */
|
||||
/* */
|
||||
Hal_InitChannelPlan(adapt);
|
||||
Hal_CustomizeByCustomerID_8188EU(adapt);
|
||||
|
||||
_ReadLEDSetting(adapt, eeprom->efuse_eeprom_data, eeprom->bautoload_fail_flag);
|
||||
}
|
||||
|
||||
|
@ -434,7 +434,6 @@ void Hal_ReadPowerSavingMode88E(struct adapter *pAdapter, u8 *hwinfo,
|
||||
|
||||
bool HalDetectPwrDownMode88E(struct adapter *Adapter);
|
||||
|
||||
void Hal_InitChannelPlan(struct adapter *padapter);
|
||||
void rtl8188e_set_hal_ops(struct hal_ops *pHalFunc);
|
||||
|
||||
void rtl8188e_read_chip_version(struct adapter *padapter);
|
||||
|
Loading…
Reference in New Issue
Block a user