diff options
Diffstat (limited to 'tests/amdgpu/deadlock_tests.c')
-rw-r--r-- | tests/amdgpu/deadlock_tests.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/amdgpu/deadlock_tests.c b/tests/amdgpu/deadlock_tests.c index aaeea871..96c99c96 100644 --- a/tests/amdgpu/deadlock_tests.c +++ b/tests/amdgpu/deadlock_tests.c | |||
@@ -110,7 +110,6 @@ CU_BOOL suite_deadlock_tests_enable(void) | |||
110 | 110 | ||
111 | int suite_deadlock_tests_init(void) | 111 | int suite_deadlock_tests_init(void) |
112 | { | 112 | { |
113 | struct amdgpu_gpu_info gpu_info = {0}; | ||
114 | int r; | 113 | int r; |
115 | 114 | ||
116 | r = amdgpu_device_initialize(drm_amdgpu[0], &major_version, | 115 | r = amdgpu_device_initialize(drm_amdgpu[0], &major_version, |
@@ -177,7 +176,7 @@ static void amdgpu_deadlock_helper(unsigned ip_type) | |||
177 | struct amdgpu_cs_ib_info ib_info; | 176 | struct amdgpu_cs_ib_info ib_info; |
178 | struct amdgpu_cs_fence fence_status; | 177 | struct amdgpu_cs_fence fence_status; |
179 | uint32_t expired; | 178 | uint32_t expired; |
180 | int i, r, instance; | 179 | int i, r; |
181 | amdgpu_bo_list_handle bo_list; | 180 | amdgpu_bo_list_handle bo_list; |
182 | amdgpu_va_handle va_handle; | 181 | amdgpu_va_handle va_handle; |
183 | 182 | ||