The definitions of the imc counter configuration array, imcs, and MAX_IMCS
are removed.

Signed-off-by: Yifan Wu <[email protected]>
---
 tools/testing/selftests/resctrl/resctrl_val.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/tools/testing/selftests/resctrl/resctrl_val.c 
b/tools/testing/selftests/resctrl/resctrl_val.c
index 65ae93205b38..acc2a4c19cf4 100644
--- a/tools/testing/selftests/resctrl/resctrl_val.c
+++ b/tools/testing/selftests/resctrl/resctrl_val.c
@@ -14,7 +14,6 @@
 #define READ_FILE_NAME         "cas_count_read"
 #define DYN_PMU_PATH           "/sys/bus/event_source/devices"
 #define SCALE                  0.00006103515625
-#define MAX_IMCS               40
 #define MAX_TOKENS             5
 
 #define CON_MBM_LOCAL_BYTES_PATH               \
@@ -37,8 +36,6 @@ struct imc_counter_config {
 };
 
 static char mbm_total_path[1024];
-static int imcs;
-static struct imc_counter_config imc_counters_config[MAX_IMCS];
 LIST_HEAD(imc_counters_list);
 static const struct resctrl_test *current_test;
 
-- 
2.43.0


Reply via email to