[API-NEXT,03/10] validation: system: remove validation of odp_cpu_hz_max()

Message ID 1450349234-26340-4-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_max().

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 14f1f97..55b90ff 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_max(void)
-{
-	uint64_t hz;
-
-	hz = odp_cpu_hz_max();
-	CU_ASSERT(0 < hz);
-}
-
 void system_test_odp_cpu_hz_max_id(void)
 {
 	uint64_t hz;
@@ -125,7 +117,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),
 	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 10f5402..2c26ac8 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(void);
 void system_test_odp_cpu_hz_max_id(void);
 
 /* test arrays: */