[PATCH 2/3] tests/amdgpu: Fix unused function warning (v2)

Luben Tuikov luben.tuikov at amd.com
Mon Dec 9 18:58:00 UTC 2019


This patch fixes:
-Wunused-function

v2: Always enable amdgpu_ras_test().

Signed-off-by: Luben Tuikov <luben.tuikov at amd.com>
---
 tests/amdgpu/ras_tests.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/tests/amdgpu/ras_tests.c b/tests/amdgpu/ras_tests.c
index d714be73..f745166b 100644
--- a/tests/amdgpu/ras_tests.c
+++ b/tests/amdgpu/ras_tests.c
@@ -881,9 +881,7 @@ CU_TestInfo ras_tests[] = {
 	{ "ras query test",	amdgpu_ras_query_test },
 	{ "ras inject test",	amdgpu_ras_inject_test },
 	{ "ras disable test",	amdgpu_ras_disable_test },
-#if 0
 	{ "ras enable test",	amdgpu_ras_enable_test },
-#endif
 	CU_TEST_INFO_NULL,
 };
 
-- 
2.24.0.390.g083378cc35



More information about the amd-gfx mailing list