staging: rtl8723au: Remove unncessary wrapper PHY_RFConfig8723A()
authorJes Sorensen <Jes.Sorensen@redhat.com>
Sun, 13 Jul 2014 07:32:10 +0000 (09:32 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 13 Jul 2014 19:14:32 +0000 (12:14 -0700)
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723au/hal/rtl8723a_phycfg.c
drivers/staging/rtl8723au/hal/usb_halinit.c
drivers/staging/rtl8723au/include/Hal8723APhyCfg.h

index bd01c10ba8743832092afc44c9baf74ca0589e36..3d4d7ec275099c4ba3d28921f3a76fecede7dade 100644 (file)
@@ -839,18 +839,6 @@ PHY_BBConfig8723A(struct rtw_adapter *Adapter)
        return rtStatus;
 }
 
-int
-PHY_RFConfig8723A(struct rtw_adapter *Adapter)
-{
-       int rtStatus = _SUCCESS;
-
-       /*  */
-       /*  RF config */
-       /*  */
-       rtStatus = PHY_RF6052_Config8723A(Adapter);
-       return rtStatus;
-}
-
 static void getTxPowerIndex(struct rtw_adapter *Adapter,
                            u8 channel, u8 *cckPowerLevel,  u8 *ofdmPowerLevel)
 {
index d3d72898edec54e4bdc5ac9aef2f790ce0598779..8a7e644525e29ce2d8951e500b28b84ef529ad0b 100644 (file)
@@ -718,9 +718,9 @@ static int rtl8723au_hal_init(struct rtw_adapter *Adapter)
        /*  Add for tx power by rate fine tune. We need to call the function after BB config. */
        /*  Because the tx power by rate table is inited in BB config. */
 
-       status = PHY_RFConfig8723A(Adapter);
+       status = PHY_RF6052_Config8723A(Adapter);
        if (status == _FAIL) {
-               DBG_8723A("PHY_RFConfig8723A fault !!\n");
+               DBG_8723A("PHY_RF6052_Config8723A failed!!\n");
                goto exit;
        }
 
index 299598b53876329daf3ca62a1c18b5599946b5e7..688f20412bcacdf548d747904ecf9c3976728ece 100644 (file)
@@ -224,7 +224,6 @@ SetAntennaConfig92C(struct rtw_adapter *Adapter, u8 DefaultAnt);
 
 /* MAC/BB/RF HAL config */
 int PHY_BBConfig8723A(struct rtw_adapter *Adapter);
-int PHY_RFConfig8723A(struct rtw_adapter *Adapter);
 s32 PHY_MACConfig8723A(struct rtw_adapter *padapter);
 
 #endif
This page took 0.033033 seconds and 5 git commands to generate.