staging: rtl8723au: Remove write-only variables hal_data_8723a.EEPROM[VP]ID
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
8048ed5b60
commit
73cfb7b028
2 changed files with 0 additions and 26 deletions
|
|
@ -1217,26 +1217,6 @@ static void _ReadLEDSetting(struct rtw_adapter *Adapter, u8 *PROMContent,
|
|||
pledpriv->LedStrategy = HW_LED;
|
||||
}
|
||||
|
||||
static void Hal_EfuseParsePIDVID_8723AU(struct rtw_adapter *pAdapter,
|
||||
u8 *hwinfo, bool AutoLoadFail)
|
||||
{
|
||||
struct hal_data_8723a *pHalData = GET_HAL_DATA(pAdapter);
|
||||
|
||||
if (AutoLoadFail) {
|
||||
pHalData->EEPROMVID = 0;
|
||||
pHalData->EEPROMPID = 0;
|
||||
} else {
|
||||
/* VID, PID */
|
||||
pHalData->EEPROMVID =
|
||||
le16_to_cpu(*(u16 *)&hwinfo[EEPROM_VID_8723AU]);
|
||||
pHalData->EEPROMPID =
|
||||
le16_to_cpu(*(u16 *)&hwinfo[EEPROM_PID_8723AU]);
|
||||
}
|
||||
|
||||
MSG_8723A("EEPROM VID = 0x%4x\n", pHalData->EEPROMVID);
|
||||
MSG_8723A("EEPROM PID = 0x%4x\n", pHalData->EEPROMPID);
|
||||
}
|
||||
|
||||
static void Hal_EfuseParseMACAddr_8723AU(struct rtw_adapter *padapter,
|
||||
u8 *hwinfo, bool AutoLoadFail)
|
||||
{
|
||||
|
|
@ -1269,8 +1249,6 @@ static void readAdapterInfo(struct rtw_adapter *padapter)
|
|||
|
||||
Hal_InitPGData(padapter, hwinfo);
|
||||
Hal_EfuseParseIDCode(padapter, hwinfo);
|
||||
Hal_EfuseParsePIDVID_8723AU(padapter, hwinfo,
|
||||
pEEPROM->bautoload_fail_flag);
|
||||
Hal_EfuseParseEEPROMVer(padapter, hwinfo,
|
||||
pEEPROM->bautoload_fail_flag);
|
||||
Hal_EfuseParseMACAddr_8723AU(padapter, hwinfo,
|
||||
|
|
|
|||
|
|
@ -280,10 +280,6 @@ struct hal_data_8723a {
|
|||
/* EEPROM setting. */
|
||||
/* */
|
||||
u8 EEPROMVersion;
|
||||
u16 EEPROMVID;
|
||||
u16 EEPROMPID;
|
||||
u16 EEPROMSVID;
|
||||
u16 EEPROMSDID;
|
||||
u8 EEPROMCustomerID;
|
||||
u8 EEPROMSubCustomerID;
|
||||
u8 EEPROMRegulatory;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue