rf_type is always equal to RF_1T1R.
Signed-off-by: Ivan Safonov <insafonov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
                power_level_offset[4] = data;
        if (regaddr == rTxAGC_A_Mcs15_Mcs12) {
                power_level_offset[5] = data;
-               if (hal_data->rf_type == RF_1T1R)
-                       hal_data->pwrGroupCnt++;
+               hal_data->pwrGroupCnt++;
        }
        if (regaddr == rTxAGC_B_Rate18_06)
                power_level_offset[8] = data;
                power_level_offset[12] = data;
        if (regaddr == rTxAGC_B_Mcs15_Mcs12) {
                power_level_offset[13] = data;
-               if (hal_data->rf_type != RF_1T1R)
-                       hal_data->pwrGroupCnt++;
        }
 }
 
 
        u8 index = (channel - 1);
        u8 TxCount = 0, path_nums;
 
-       if ((RF_1T2R == hal_data->rf_type) || (RF_1T1R == hal_data->rf_type))
-               path_nums = 1;
-       else
-               path_nums = 2;
+       path_nums = 1;
 
        for (TxCount = 0; TxCount < path_nums; TxCount++) {
                if (TxCount == RF_PATH_A) {
 
 {
        struct hal_data_8188e *hal_data = adapt->HalData;
 
-       if (hal_data->rf_type == RF_1T1R)
-               hal_data->NumTotalRFPath = 1;
-       else
-               hal_data->NumTotalRFPath = 2;
+       hal_data->NumTotalRFPath = 1;
 
        return rf6052_conf_para(adapt);
 }
 
        dm_odm->PatchID = hal_data->CustomerID;
        dm_odm->bWIFITest = Adapter->registrypriv.wifi_spec;
 
-       if (hal_data->rf_type == RF_1T1R)
-               dm_odm->RFType = ODM_1T1R;
-       else if (hal_data->rf_type == RF_2T2R)
-               dm_odm->RFType = ODM_2T2R;
-       else if (hal_data->rf_type == RF_1T2R)
-               dm_odm->RFType = ODM_1T2R;
+       dm_odm->RFType = ODM_1T1R;
 
        dm_odm->AntDivType = hal_data->TRxAntDivType;
 
 
        dump_chip_info(ChipVersion);
 
        pHalData->VersionID = ChipVersion;
-       pHalData->rf_type = RF_1T1R;
        pHalData->NumTotalRFPath = 1;
-
-       MSG_88E("RF_Type is %x!!\n", pHalData->rf_type);
 }
 
 void rtw_hal_set_odm_var(struct adapter *Adapter, enum hal_odm_variable eVariable, void *pValue1, bool bSet)
 
                val[0] = (BIT(0) & usb_read8(Adapter, REG_TDECTRL+2)) ? true : false;
                break;
        case HW_VAR_RF_TYPE:
-               val[0] = Adapter->HalData->rf_type;
+               val[0] = RF_1T1R;
                break;
        case HW_VAR_FWLPS_RF_ON:
                {
 
 
        /* rf_ctrl */
        u8      rf_chip;
-       u8      rf_type;
        u8      NumTotalRFPath;
 
        u8      BoardType;