staging: r8188eu: remove unused function Hal_ProSetCrystalCap()
authorMichael Straube <straube.linux@gmail.com>
Tue, 7 Sep 2021 21:09:24 +0000 (23:09 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 13 Sep 2021 06:49:53 +0000 (08:49 +0200)
Remove unused function Hal_ProSetCrystalCap().

Acked-by: Phillip Potter <phil@philpotter.co.uk>
Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20210907210924.22287-1-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/core/rtw_mp.c
drivers/staging/r8188eu/include/rtw_mp.h

index dabdd04..82268f7 100644 (file)
@@ -924,12 +924,3 @@ void _rtw_mp_xmit_priv(struct xmit_priv *pxmitpriv)
 exit:
        ;
 }
-
-void Hal_ProSetCrystalCap(struct adapter *pAdapter, u32 CrystalCapVal)
-{
-       CrystalCapVal = CrystalCapVal & 0x3F;
-
-       // write 0x24[16:11] = 0x24[22:17] = CrystalCap
-       PHY_SetBBReg(pAdapter, REG_AFE_XTAL_CTRL, 0x7FF800,
-                    (CrystalCapVal | (CrystalCapVal << 6)));
-}
index b2befe0..73fb697 100644 (file)
@@ -466,7 +466,6 @@ void Hal_TriggerRFThermalMeter(struct adapter *pAdapter);
 u8 Hal_ReadRFThermalMeter(struct adapter *pAdapter);
 void Hal_SetCCKContinuousTx(struct adapter *pAdapter, u8 bStart);
 void Hal_SetOFDMContinuousTx(struct adapter *pAdapter, u8 bStart);
-void Hal_ProSetCrystalCap (struct adapter *pAdapter , u32 CrystalCapVal);
 void _rtw_mp_xmit_priv(struct xmit_priv *pxmitpriv);
 void MP_PHY_SetRFPathSwitch(struct adapter *pAdapter ,bool bMain);