[PATCH libdrm] amdgpu: Remove dummy CU_ASSERT_EQUAL.

Andrey Grodzovsky andrey.grodzovsky at amd.com
Tue Dec 12 13:36:53 UTC 2017


Fixes test failure on rhel.

Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky at amd.com>
---
 tests/amdgpu/basic_tests.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/tests/amdgpu/basic_tests.c b/tests/amdgpu/basic_tests.c
index a78cf52..474a679 100644
--- a/tests/amdgpu/basic_tests.c
+++ b/tests/amdgpu/basic_tests.c
@@ -1459,8 +1459,6 @@ static void amdgpu_sync_dependency_test(void)
 	static uint32_t *ptr;
 	uint64_t seq_no;
 
-	CU_ASSERT_EQUAL(r, 0);
-
 	r = amdgpu_cs_ctx_create(device_handle, &context_handle[0]);
 	CU_ASSERT_EQUAL(r, 0);
 	r = amdgpu_cs_ctx_create(device_handle, &context_handle[1]);
-- 
2.7.4



More information about the amd-gfx mailing list