staging: rtl8723au: Call to ODM_ConfigRFWithHeaderFile23a path is identical for RF_PA...
authorJes Sorensen <Jes.Sorensen@redhat.com>
Sun, 13 Jul 2014 07:32:02 +0000 (09:32 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 13 Jul 2014 19:14:31 +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_rf6052.c

index c30bd232bf6271b5bca75c8fe599922b41d31117..6686a298b2047b61216c193c9a64b764eb27da66 100644 (file)
@@ -455,13 +455,6 @@ static int phy_RF6052_Config_ParaFile(struct rtw_adapter *Adapter)
                /*----Initialize RF fom connfiguration file----*/
                switch (eRFPath) {
                case RF_PATH_A:
-                       if (ODM_ConfigRFWithHeaderFile23a(&pHalData->odmpriv,
-                                                         (enum RF_RADIO_PATH)
-                                                         eRFPath,
-                                                         (enum RF_RADIO_PATH)
-                                                         eRFPath) == _FAIL)
-                               rtStatus = _FAIL;
-                       break;
                case RF_PATH_B:
                        if (ODM_ConfigRFWithHeaderFile23a(&pHalData->odmpriv,
                                                          (enum RF_RADIO_PATH)