rtl8188eu: Remove ODM_RF_PATH_MAX

This is always equal to RF_PATH_MAX.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
Larry Finger 2016-02-13 15:43:45 -06:00
parent c73b464cae
commit 3c79709126
2 changed files with 1 additions and 3 deletions

View file

@ -293,7 +293,7 @@ static void odm_RxPhyStatus92CSeries_Parsing(struct odm_dm_struct *dm_odm,
/* (1)Get RSSI for HT rate */ /* (1)Get RSSI for HT rate */
for (i = ODM_RF_PATH_A; i < ODM_RF_PATH_MAX; i++) { for (i = ODM_RF_PATH_A; i < RF_PATH_MAX; i++) {
/* 2008/01/30 MH we will judge RF RX path now. */ /* 2008/01/30 MH we will judge RF RX path now. */
if (dm_odm->RFPathRxEnable & BIT(i)) if (dm_odm->RFPathRxEnable & BIT(i))
rf_rx_num++; rf_rx_num++;

View file

@ -946,8 +946,6 @@ struct odm_dm_struct {
struct timer_list FastAntTrainingTimer; struct timer_list FastAntTrainingTimer;
}; /* DM_Dynamic_Mechanism_Structure */ }; /* DM_Dynamic_Mechanism_Structure */
#define ODM_RF_PATH_MAX 3
enum ODM_RF_RADIO_PATH { enum ODM_RF_RADIO_PATH {
ODM_RF_PATH_A = 0, /* Radio Path A */ ODM_RF_PATH_A = 0, /* Radio Path A */
ODM_RF_PATH_B = 1, /* Radio Path B */ ODM_RF_PATH_B = 1, /* Radio Path B */