Skip to contentSkip to conversation

staging: r8188eu: remove rtl8188e_PHY_ConfigRFWithHeaderFile()

PATCH New Michael Straube 1 participant 2 messages Aug 28, 2021 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 staging: r8188eu: remove rtl8188e_PHY_ConfigRFWithHeaderFile()

Function rtl8188e_PHY_ConfigRFWithHeaderFile() is not implemented, remove the declaration from Hal8188EPhyCfg.h.

---
 drivers/staging/r8188eu/include/Hal8188EPhyCfg.h | 2 --
 1 file changed, 2 deletions(-)
drivers/staging/r8188eu/include/Hal8188EPhyCfg.h +0 -2
index 4370ec2fa981..d15ff69b8485 100644
@@ -188,8 +188,6 @@ int PHY_RFConfig8188E(struct adapter *adapter);
 /* RF config */
 int rtl8188e_PHY_ConfigRFWithParaFile(struct adapter *adapter, u8 *filename,
 				      enum rf_radio_path rfpath);
-int rtl8188e_PHY_ConfigRFWithHeaderFile(struct adapter *adapter,
-					enum rf_radio_path rfpath);
 
 /* Read initi reg value for tx power setting. */
 void rtl8192c_PHY_GetHWRegOriginalValue(struct adapter *adapter);
Signature · 1 line
2.32.0
#1 lore raw

PATCH 2/2 staging: r8188eu: remove rtl8188e_PHY_ConfigRFWithParaFile()

Function rtl8188e_PHY_ConfigRFWithParaFile() is unused, remove it.

---
 drivers/staging/r8188eu/hal/rtl8188e_phycfg.c | 20 -------------------
 .../staging/r8188eu/include/Hal8188EPhyCfg.h  |  4 ----
 2 files changed, 24 deletions(-)
drivers/staging/r8188eu/hal/rtl8188e_phycfg.c +0 -20
index 30a9dca8f453..1c1906161da2 100644
@@ -609,26 +609,6 @@ int PHY_RFConfig8188E(struct adapter *Adapter)
 	return rtStatus;
 }
 
-/*-----------------------------------------------------------------------------
- * Function:    PHY_ConfigRFWithParaFile()
- *
- * Overview:    This function read RF parameters from general file format, and do RF 3-wire
- *
- * Input:	struct adapter *Adapter
- *			ps8					pFileName
- *			enum rf_radio_path eRFPath
- *
- * Output:      NONE
- *
- * Return:      RT_STATUS_SUCCESS: configuration file exist
- *
- * Note:		Delay may be required for RF configuration
- *---------------------------------------------------------------------------*/
-int rtl8188e_PHY_ConfigRFWithParaFile(struct adapter *Adapter, u8 *pFileName, enum rf_radio_path eRFPath)
-{
-	return _SUCCESS;
-}
-
 void
 rtl8192c_PHY_GetHWRegOriginalValue(
 		struct adapter *Adapter
drivers/staging/r8188eu/include/Hal8188EPhyCfg.h +0 -4
index d15ff69b8485..ea83c2e17913 100644
@@ -185,10 +185,6 @@ int PHY_MACConfig8188E(struct adapter *adapter);
 int PHY_BBConfig8188E(struct adapter *adapter);
 int PHY_RFConfig8188E(struct adapter *adapter);
 
-/* RF config */
-int rtl8188e_PHY_ConfigRFWithParaFile(struct adapter *adapter, u8 *filename,
-				      enum rf_radio_path rfpath);
-
 /* Read initi reg value for tx power setting. */
 void rtl8192c_PHY_GetHWRegOriginalValue(struct adapter *adapter);
 
Signature · 1 line
2.32.0