staging: rtl8188eu: Remove unused function odm_ConfigRFReg_8188E()
Signed-off-by: navin patidar <navin.patidar@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Родитель
40a4325cd9
Коммит
02282888d7
|
@ -20,31 +20,6 @@
|
|||
|
||||
#include "odm_precomp.h"
|
||||
|
||||
void odm_ConfigRFReg_8188E(struct odm_dm_struct *pDM_Odm, u32 Addr,
|
||||
u32 Data, enum rf_radio_path RF_PATH,
|
||||
u32 RegAddr)
|
||||
{
|
||||
struct adapter *adapter = pDM_Odm->Adapter;
|
||||
|
||||
if (Addr == 0xffe) {
|
||||
msleep(50);
|
||||
} else if (Addr == 0xfd) {
|
||||
mdelay(5);
|
||||
} else if (Addr == 0xfc) {
|
||||
mdelay(1);
|
||||
} else if (Addr == 0xfb) {
|
||||
udelay(50);
|
||||
} else if (Addr == 0xfa) {
|
||||
udelay(5);
|
||||
} else if (Addr == 0xf9) {
|
||||
udelay(1);
|
||||
} else {
|
||||
PHY_SetRFReg(adapter, RF_PATH, RegAddr, bRFRegOffsetMask, Data);
|
||||
/* Add 1us delay between BB/RF register setting. */
|
||||
udelay(1);
|
||||
}
|
||||
}
|
||||
|
||||
void odm_ConfigMAC_8188E(struct odm_dm_struct *pDM_Odm, u32 Addr, u8 Data)
|
||||
{
|
||||
struct adapter *adapt = pDM_Odm->Adapter;
|
||||
|
|
|
@ -20,9 +20,6 @@
|
|||
#ifndef __INC_ODM_REGCONFIG_H_8188E
|
||||
#define __INC_ODM_REGCONFIG_H_8188E
|
||||
|
||||
void odm_ConfigRFReg_8188E(struct odm_dm_struct *pDM_Odm, u32 Addr, u32 Data,
|
||||
enum rf_radio_path RF_PATH, u32 RegAddr);
|
||||
|
||||
void odm_ConfigMAC_8188E(struct odm_dm_struct *pDM_Odm, u32 Addr, u8 Data);
|
||||
|
||||
void odm_ConfigBB_AGC_8188E(struct odm_dm_struct *pDM_Odm, u32 Addr,
|
||||
|
|
Загрузка…
Ссылка в новой задаче