Commit 1206c0e9 authored by Michael Straube's avatar Michael Straube Committed by Greg Kroah-Hartman

staging: r8188eu: remove PHY_RF6052_Config8188E()

The function PHY_RF6052_Config8188E() is just a wrapper around
phy_RF6052_Config_ParaFile(). Remove the wrapper.
Signed-off-by: default avatarMichael Straube <straube.linux@gmail.com>
Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> # Edimax N150
Link: https://lore.kernel.org/r/20220928083641.8275-2-straube.linux@gmail.comSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent b933b6a2
...@@ -512,7 +512,7 @@ int PHY_RFConfig8188E(struct adapter *Adapter) ...@@ -512,7 +512,7 @@ int PHY_RFConfig8188E(struct adapter *Adapter)
int rtStatus = _SUCCESS; int rtStatus = _SUCCESS;
/* RF config */ /* RF config */
rtStatus = PHY_RF6052_Config8188E(Adapter); rtStatus = phy_RF6052_Config_ParaFile(Adapter);
return rtStatus; return rtStatus;
} }
......
...@@ -366,7 +366,7 @@ rtl8188e_PHY_RF6052SetOFDMTxPower( ...@@ -366,7 +366,7 @@ rtl8188e_PHY_RF6052SetOFDMTxPower(
} }
} }
static int phy_RF6052_Config_ParaFile(struct adapter *Adapter) int phy_RF6052_Config_ParaFile(struct adapter *Adapter)
{ {
struct bb_reg_def *pPhyReg; struct bb_reg_def *pPhyReg;
struct hal_data_8188e *pHalData = &Adapter->haldata; struct hal_data_8188e *pHalData = &Adapter->haldata;
...@@ -404,14 +404,3 @@ static int phy_RF6052_Config_ParaFile(struct adapter *Adapter) ...@@ -404,14 +404,3 @@ static int phy_RF6052_Config_ParaFile(struct adapter *Adapter)
return rtStatus; return rtStatus;
} }
int PHY_RF6052_Config8188E(struct adapter *Adapter)
{
int rtStatus = _SUCCESS;
/* */
/* Config BB and RF */
/* */
rtStatus = phy_RF6052_Config_ParaFile(Adapter);
return rtStatus;
}
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
#define RF6052_MAX_REG 0x3F #define RF6052_MAX_REG 0x3F
#define RF6052_MAX_PATH 2 #define RF6052_MAX_PATH 2
int PHY_RF6052_Config8188E(struct adapter *Adapter); int phy_RF6052_Config_ParaFile(struct adapter *Adapter);
void rtl8188e_PHY_RF6052SetBandwidth(struct adapter *Adapter, void rtl8188e_PHY_RF6052SetBandwidth(struct adapter *Adapter,
enum ht_channel_width Bandwidth); enum ht_channel_width Bandwidth);
void rtl8188e_PHY_RF6052SetCckTxPower(struct adapter *Adapter, u8 *level); void rtl8188e_PHY_RF6052SetCckTxPower(struct adapter *Adapter, u8 *level);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment