From 3c797091268373ff54ec7ba30338e07f147f38e4 Mon Sep 17 00:00:00 2001 From: Larry Finger Date: Sat, 13 Feb 2016 15:43:45 -0600 Subject: [PATCH] rtl8188eu: Remove ODM_RF_PATH_MAX This is always equal to RF_PATH_MAX. Signed-off-by: Larry Finger --- hal/odm_HWConfig.c | 2 +- include/odm.h | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/hal/odm_HWConfig.c b/hal/odm_HWConfig.c index 4c6b6c2..490ffc8 100644 --- a/hal/odm_HWConfig.c +++ b/hal/odm_HWConfig.c @@ -293,7 +293,7 @@ static void odm_RxPhyStatus92CSeries_Parsing(struct odm_dm_struct *dm_odm, /* (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. */ if (dm_odm->RFPathRxEnable & BIT(i)) rf_rx_num++; diff --git a/include/odm.h b/include/odm.h index c07e90f..3c0f259 100644 --- a/include/odm.h +++ b/include/odm.h @@ -946,8 +946,6 @@ struct odm_dm_struct { struct timer_list FastAntTrainingTimer; }; /* DM_Dynamic_Mechanism_Structure */ -#define ODM_RF_PATH_MAX 3 - enum ODM_RF_RADIO_PATH { ODM_RF_PATH_A = 0, /* Radio Path A */ ODM_RF_PATH_B = 1, /* Radio Path B */