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

Christian König ckoenig.leichtzumerken at gmail.com
Fri Jan 22 15:06:17 UTC 2021


Am 22.01.21 um 16:04 schrieb Sonny Jiang:
> Remove useless codes.
>
> Signed-off-by: Sonny Jiang <sonny.jiang at amd.com>

Reviewed-by: Christian König <christian.koenig 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;



More information about the amd-gfx mailing list