[API-NEXT,01/10] validation: system: remove validation of odp_cpu_hz()

Message ID 1450349234-26340-2-git-send-email-hongbo.zhang@freescale.com
State Superseded
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().

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

Patch

diff --git a/test/validation/system/system.c b/test/validation/system/system.c
index 171fb74..7f2ef84 100644
--- a/test/validation/system/system.c
+++ b/test/validation/system/system.c
@@ -93,14 +93,6 @@  void system_test_odp_sys_huge_page_size(void)
 	CU_ASSERT(0 < page);
 }
 
-void system_test_odp_cpu_hz(void)
-{
-	uint64_t hz;
-
-	hz = odp_cpu_hz();
-	CU_ASSERT(0 < hz);
-}
-
 void system_test_odp_cpu_hz_id(void)
 {
 	uint64_t hz;
@@ -149,7 +141,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),
 	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),
diff --git a/test/validation/system/system.h b/test/validation/system/system.h
index 13725db..448a5ed 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(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);