amdgpu/tests: drop unused local vars
PATCH 1/1 amdgpu/tests: drop unused local vars
Signed-off-by Eric Engestrom <[email protected]>
--- tests/amdgpu/vce_tests.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
tests/amdgpu/vce_tests.c +1 -3
@@ -648,12 +648,10 @@ static void check_mv_result(struct amdgpu_vce_encode *enc) {uint64_t sum;uint32_t s =140790 ; -uint32_t *ptr, size; -int i, j, r; +int j, r; r =amdgpu_bo_cpu_map (enc->fb[0 ].handle, (void **)&enc->fb[0 ].ptr);CU_ASSERT_EQUAL (r,0 ); - ptr = (uint32_t *)enc->fb[0 ].ptr; r =amdgpu_bo_cpu_unmap (enc->fb[0 ].handle);CU_ASSERT_EQUAL (r,0 ); r =amdgpu_bo_cpu_map (enc->mvb.handle, (void **)&enc->mvb.ptr);
Signature · 7 lines
Cheers, Eric _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
Quoted 6 lines · Eric Engestrom
Signed-off-by Eric Engestrom <[email protected]>--- tests/amdgpu/vce_tests.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
Reviewed-by Emil Velikov <[email protected]>
and pushed to master.
Thanks
-Emil
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel