staging: r8188eu: remove PHY_RFConfig8188E()
The function PHY_RFConfig8188E() is just a wrapper around phy_RF6052_Config_ParaFile(). Remove the wrapper. Signed-off-by: Michael Straube <straube.linux@gmail.com> Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> # Edimax N150 Link: https://lore.kernel.org/r/20220928083641.8275-3-straube.linux@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
1206c0e9e3
commit
006d2f4872
|
@ -507,15 +507,6 @@ PHY_BBConfig8188E(
|
||||||
return rtStatus;
|
return rtStatus;
|
||||||
}
|
}
|
||||||
|
|
||||||
int PHY_RFConfig8188E(struct adapter *Adapter)
|
|
||||||
{
|
|
||||||
int rtStatus = _SUCCESS;
|
|
||||||
|
|
||||||
/* RF config */
|
|
||||||
rtStatus = phy_RF6052_Config_ParaFile(Adapter);
|
|
||||||
return rtStatus;
|
|
||||||
}
|
|
||||||
|
|
||||||
static void getTxPowerIndex88E(struct adapter *Adapter, u8 channel, u8 *cckPowerLevel,
|
static void getTxPowerIndex88E(struct adapter *Adapter, u8 channel, u8 *cckPowerLevel,
|
||||||
u8 *ofdmPowerLevel, u8 *BW20PowerLevel,
|
u8 *ofdmPowerLevel, u8 *BW20PowerLevel,
|
||||||
u8 *BW40PowerLevel)
|
u8 *BW40PowerLevel)
|
||||||
|
|
|
@ -611,7 +611,7 @@ u32 rtl8188eu_hal_init(struct adapter *Adapter)
|
||||||
if (status == _FAIL)
|
if (status == _FAIL)
|
||||||
goto exit;
|
goto exit;
|
||||||
|
|
||||||
status = PHY_RFConfig8188E(Adapter);
|
status = phy_RF6052_Config_ParaFile(Adapter);
|
||||||
if (status == _FAIL)
|
if (status == _FAIL)
|
||||||
goto exit;
|
goto exit;
|
||||||
|
|
||||||
|
|
|
@ -80,7 +80,6 @@ void rtl8188e_PHY_SetRFReg(struct adapter *adapter, u32 regaddr, u32 mask, u32 d
|
||||||
/* MAC/BB/RF HAL config */
|
/* MAC/BB/RF HAL config */
|
||||||
int PHY_MACConfig8188E(struct adapter *adapter);
|
int PHY_MACConfig8188E(struct adapter *adapter);
|
||||||
int PHY_BBConfig8188E(struct adapter *adapter);
|
int PHY_BBConfig8188E(struct adapter *adapter);
|
||||||
int PHY_RFConfig8188E(struct adapter *adapter);
|
|
||||||
|
|
||||||
/* BB TX Power R/W */
|
/* BB TX Power R/W */
|
||||||
void PHY_SetTxPowerLevel8188E(struct adapter *adapter, u8 channel);
|
void PHY_SetTxPowerLevel8188E(struct adapter *adapter, u8 channel);
|
||||||
|
|
Loading…
Reference in New Issue