[PATCH] tests/amdgpu/vcn: clean abundant codes

Sonny Jiang sonny.jiang at amd.com
Fri Jan 22 15:04:39 UTC 2021


Remove useless codes.

Signed-off-by: Sonny Jiang <sonny.jiang at amd.com>
---
 tests/amdgpu/vcn_tests.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/tests/amdgpu/vcn_tests.c b/tests/amdgpu/vcn_tests.c
index 0f5b4241..1ca66297 100644
--- a/tests/amdgpu/vcn_tests.c
+++ b/tests/amdgpu/vcn_tests.c
@@ -102,8 +102,6 @@ CU_BOOL suite_vcn_tests_enable(void)
 		return CU_FALSE;
 
 	family_id = device_handle->info.family_id;
-	chip_rev = device_handle->info.chip_rev;
-	chip_id = device_handle->info.chip_external_rev;
 	asic_id = device_handle->info.asic_id;
 	chip_rev = device_handle->info.chip_rev;
 	chip_id = device_handle->info.chip_external_rev;
-- 
2.25.1



More information about the amd-gfx mailing list