staging: r8188eu: remove rtl8188e_RF_ChangeTxPath()
authorMichael Straube <straube.linux@gmail.com>
Sat, 18 Sep 2021 09:57:22 +0000 (11:57 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 20 Sep 2021 11:40:21 +0000 (13:40 +0200)
Function rtl8188e_RF_ChangeTxPath() is not used, remove it.

Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20210918095727.13591-4-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/hal/rtl8188e_rf6052.c
drivers/staging/r8188eu/include/rtl8188e_rf.h

index 2f16c09..2fffe42 100644 (file)
@@ -51,28 +51,6 @@ struct rf_shadow {
 /*------------------------Define local variable------------------------------*/
 
 /*-----------------------------------------------------------------------------
- * Function:   RF_ChangeTxPath
- *
- * Overview:   For RL6052, we must change some RF settign for 1T or 2T.
- *
- * Input:              u16 DataRate            0x80-8f, 0x90-9f
- *
- * Output:      NONE
- *
- * Return:      NONE
- *
- * Revised History:
- * When                        Who             Remark
- * 09/25/2008  MHC             Create Version 0.
- *                                             Firmwaer support the utility later.
- *
- *---------------------------------------------------------------------------*/
-void rtl8188e_RF_ChangeTxPath(struct adapter *Adapter, u16 DataRate)
-{
-/*  We do not support gain table change inACUT now !!!! Delete later !!! */
-}      /* RF_ChangeTxPath */
-
-/*-----------------------------------------------------------------------------
  * Function:    PHY_RF6052SetBandwidth()
  *
  * Overview:    This function is called by SetBWModeCallback8190Pci() only
index da6b7f8..0455649 100644 (file)
@@ -9,7 +9,6 @@
 #define                RF6052_MAX_PATH                 2
 
 int    PHY_RF6052_Config8188E(struct adapter *Adapter);
-void rtl8188e_RF_ChangeTxPath(struct adapter *Adapter, u16 DataRate);
 void rtl8188e_PHY_RF6052SetBandwidth(struct adapter *Adapter,
                                     enum ht_channel_width Bandwidth);
 void   rtl8188e_PHY_RF6052SetCckTxPower(struct adapter *Adapter, u8 *level);