mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-06-23 16:44:20 +00:00
rtl8188eu: FRemove dead code for other than USB
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
5a2939fa9e
commit
2d60bad9ad
66 changed files with 229 additions and 4045 deletions
|
@ -31,12 +31,6 @@
|
|||
#include <rtw_iol.h>
|
||||
#endif
|
||||
|
||||
#ifndef CONFIG_USB_HCI
|
||||
|
||||
#error "CONFIG_USB_HCI shall be on!\n"
|
||||
|
||||
#endif
|
||||
|
||||
#include <usb_ops.h>
|
||||
#include <usb_hal.h>
|
||||
#include <usb_osintf.h>
|
||||
|
@ -2902,7 +2896,6 @@ readAdapterInfo_8188EU(
|
|||
IN struct adapter *padapter
|
||||
)
|
||||
{
|
||||
#if 1
|
||||
EEPROM_EFUSE_PRIV *pEEPROM = GET_EEPROM_EFUSE_PRIV(padapter);
|
||||
|
||||
/* parse the eeprom/efuse content */
|
||||
|
@ -2928,28 +2921,9 @@ readAdapterInfo_8188EU(
|
|||
// The following part initialize some vars by PG info.
|
||||
//
|
||||
Hal_InitChannelPlan(padapter);
|
||||
#if defined(CONFIG_WOWLAN) && defined(CONFIG_SDIO_HCI)
|
||||
Hal_DetectWoWMode(padapter);
|
||||
#endif //CONFIG_WOWLAN && CONFIG_SDIO_HCI
|
||||
Hal_CustomizeByCustomerID_8188EU(padapter);
|
||||
|
||||
_ReadLEDSetting(padapter, pEEPROM->efuse_eeprom_data, pEEPROM->bautoload_fail_flag);
|
||||
|
||||
#else
|
||||
|
||||
#ifdef CONFIG_INTEL_PROXIM
|
||||
/* for intel proximity */
|
||||
if (pHalData->rf_type== RF_1T1R) {
|
||||
Adapter->proximity.proxim_support = _TRUE;
|
||||
} else if (pHalData->rf_type== RF_2T2R) {
|
||||
if ((pHalData->EEPROMPID == 0x8186) &&
|
||||
(pHalData->EEPROMVID== 0x0bda))
|
||||
Adapter->proximity.proxim_support = _TRUE;
|
||||
} else {
|
||||
Adapter->proximity.proxim_support = _FALSE;
|
||||
}
|
||||
#endif //CONFIG_INTEL_PROXIM
|
||||
#endif
|
||||
}
|
||||
|
||||
static void _ReadPROMContent(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue