staging: rtl8723au: Remove a pile of unused firmware image file names
authorJes Sorensen <Jes.Sorensen@redhat.com>
Fri, 9 May 2014 13:03:24 +0000 (15:03 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 15 May 2014 20:11:57 +0000 (13:11 -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/rtl8723a_rf6052.c
drivers/staging/rtl8723au/include/rtl8723a_hal.h

index 8400e6e..4860ba4 100644 (file)
@@ -417,12 +417,8 @@ s32 PHY_MACConfig8723A(struct rtw_adapter *Adapter)
 {
        int rtStatus = _SUCCESS;
        struct hal_data_8723a *pHalData = GET_HAL_DATA(Adapter);
-       s8 *pszMACRegFile;
-       s8 sz8723MACRegFile[] = RTL8723_PHY_MACREG;
        bool is92C = IS_92C_SERIAL(pHalData->VersionID);
 
-       pszMACRegFile = sz8723MACRegFile;
-
        /*  */
        /*  Config MAC */
        /*  */
@@ -751,21 +747,6 @@ phy_BB8723a_Config_ParaFile(struct rtw_adapter *Adapter)
        struct hal_data_8723a *pHalData = GET_HAL_DATA(Adapter);
        int rtStatus = _SUCCESS;
 
-       u8 sz8723BBRegFile[] = RTL8723_PHY_REG;
-       u8 sz8723AGCTableFile[] = RTL8723_AGC_TAB;
-       u8 sz8723BBRegPgFile[] = RTL8723_PHY_REG_PG;
-       u8 sz8723BBRegMpFile[] = RTL8723_PHY_REG_MP;
-
-       u8 *pszBBRegFile = NULL, *pszAGCTableFile = NULL;
-       u8 *pszBBRegPgFile = NULL, *pszBBRegMpFile = NULL;
-
-       /* RT_TRACE(COMP_INIT, DBG_TRACE, ("==>phy_BB8192S_Config_ParaFile\n")); */
-
-       pszBBRegFile = sz8723BBRegFile ;
-       pszAGCTableFile = sz8723AGCTableFile;
-       pszBBRegPgFile = sz8723BBRegPgFile;
-       pszBBRegMpFile = sz8723BBRegMpFile;
-
        /*  */
        /*  1. Read PHY_REG.TXT BB INIT!! */
        /*  We will seperate as 88C / 92C according to chip version */
index ed39c18..d4f922a 100644 (file)
@@ -417,12 +417,6 @@ static int phy_RF6052_Config_ParaFile(struct rtw_adapter *Adapter)
        struct bb_reg_define    *pPhyReg;
        int rtStatus = _SUCCESS;
        struct hal_data_8723a *pHalData = GET_HAL_DATA(Adapter);
-       static char sz8723RadioAFile[] = RTL8723_PHY_RADIO_A;
-       static char sz8723RadioBFile[] = RTL8723_PHY_RADIO_B;
-       char *pszRadioAFile, *pszRadioBFile;
-
-       pszRadioAFile = sz8723RadioAFile;
-       pszRadioBFile = sz8723RadioBFile;
 
        /* 3----------------------------------------------------------------- */
        /* 3 <2> Initialize RF */
index f6b4b7c..a6d4bc7 100644 (file)
 #define RTL819X_DEFAULT_RF_TYPE                        RF_1T2R
 #define RTL819X_TOTAL_RF_PATH                          2
 
-/* TODO:  The following need to check!! */
-#define RTL8723_FW_UMC_IMG                             "rtl8192CU\\rtl8723fw.bin"
-#define RTL8723_FW_UMC_B_IMG                   "rtl8192CU\\rtl8723fw_B.bin"
-#define RTL8723_PHY_REG                                        "rtl8723S\\PHY_REG_1T.txt"
-#define RTL8723_PHY_RADIO_A                            "rtl8723S\\radio_a_1T.txt"
-#define RTL8723_PHY_RADIO_B                            "rtl8723S\\radio_b_1T.txt"
-#define RTL8723_AGC_TAB                                        "rtl8723S\\AGC_TAB_1T.txt"
-#define RTL8723_PHY_MACREG                             "rtl8723S\\MAC_REG.txt"
-#define RTL8723_PHY_REG_PG                             "rtl8723S\\PHY_REG_PG.txt"
-#define RTL8723_PHY_REG_MP                             "rtl8723S\\PHY_REG_MP.txt"
-
 /*  */
 /*             RTL8723S From header */
 /*  */