[API-NEXT,02/10] validation: system: remove validation of odp_cpu_hz_id()

Message ID 1450349234-26340-3-git-send-email-hongbo.zhang@freescale.com
State New
Headers show

Commit Message

hongbo.zhang@freescale.com Dec. 17, 2015, 10:47 a.m.
From: Hongbo Zhang <hongbo.zhang@linaro.org>

All CPU frequency APIs will be moved as linux-generic internal interfaces,
this patch removes validation of odp_cpu_hz_id().

Signed-off-by: Hongbo Zhang <hongbo.zhang@linaro.org>
---
 test/validation/system/system.c | 17 -----------------
 test/validation/system/system.h |  1 -
 2 files changed, 18 deletions(-)

Patch

diff --git a/test/validation/system/system.c b/test/validation/system/system.c
index 7f2ef84..14f1f97 100644
--- a/test/validation/system/system.c
+++ b/test/validation/system/system.c
@@ -93,22 +93,6 @@  void system_test_odp_sys_huge_page_size(void)
 	CU_ASSERT(0 < page);
 }
 
-void system_test_odp_cpu_hz_id(void)
-{
-	uint64_t hz;
-	odp_cpumask_t mask;
-	int i, num, cpu;
-
-	num = odp_cpumask_all_available(&mask);
-	cpu = odp_cpumask_first(&mask);
-
-	for (i = 0; i < num; i++) {
-		hz = odp_cpu_hz_id(cpu);
-		CU_ASSERT(0 < hz);
-		cpu = odp_cpumask_next(&mask, cpu);
-	}
-}
-
 void system_test_odp_cpu_hz_max(void)
 {
 	uint64_t hz;
@@ -141,7 +125,6 @@  odp_testinfo_t system_suite[] = {
 	ODP_TEST_INFO(system_test_odp_cpu_model_str_id),
 	ODP_TEST_INFO(system_test_odp_sys_page_size),
 	ODP_TEST_INFO(system_test_odp_sys_huge_page_size),
-	ODP_TEST_INFO(system_test_odp_cpu_hz_id),
 	ODP_TEST_INFO(system_test_odp_cpu_hz_max),
 	ODP_TEST_INFO(system_test_odp_cpu_hz_max_id),
 	ODP_TEST_INFO_NULL,
diff --git a/test/validation/system/system.h b/test/validation/system/system.h
index 448a5ed..10f5402 100644
--- a/test/validation/system/system.h
+++ b/test/validation/system/system.h
@@ -17,7 +17,6 @@  void system_test_odp_cpu_model_str(void);
 void system_test_odp_cpu_model_str_id(void);
 void system_test_odp_sys_page_size(void);
 void system_test_odp_sys_huge_page_size(void);
-void system_test_odp_cpu_hz_id(void);
 void system_test_odp_cpu_hz_max(void);
 void system_test_odp_cpu_hz_max_id(void);