diff mbox

[API-NEXT,04/10] validation: system: remove validation of odp_cpu_hz_max_id()

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

Commit Message

hongbo.zhang@freescale.com Dec. 17, 2015, 10:47 a.m. UTC
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_max_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(-)
diff mbox

Patch

diff --git a/test/validation/system/system.c b/test/validation/system/system.c
index 55b90ff..13a1851 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_max_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_max_id(cpu);
-		CU_ASSERT(0 < hz);
-		cpu = odp_cpumask_next(&mask, cpu);
-	}
-}
-
 odp_testinfo_t system_suite[] = {
 	ODP_TEST_INFO(system_test_odp_version_numbers),
 	ODP_TEST_INFO(system_test_odp_cpu_count),
@@ -117,7 +101,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_max_id),
 	ODP_TEST_INFO_NULL,
 };
 
diff --git a/test/validation/system/system.h b/test/validation/system/system.h
index 2c26ac8..5a017a1 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_max_id(void);
 
 /* test arrays: */
 extern odp_testinfo_t system_suite[];