aboutsummaryrefslogtreecommitdiffstats
path: root/tests/amdgpu/deadlock_tests.c
diff options
context:
space:
mode:
authorEric Engestrom <eric.engestrom@imgtec.com>2018-01-25 11:24:03 +0000
committerEric Engestrom <eric.engestrom@imgtec.com>2018-01-29 15:41:52 +0000
commit80f33f4529710f5a24583ab5189d00cc7cb0d62b (patch)
treefe44df37fba593ad8212d58e962f9ad400c500d5 /tests/amdgpu/deadlock_tests.c
parentc6fcd176e8949148ad2e07b0ee970cd1ad287113 (diff)
downloadexternal_libdrm-80f33f4529710f5a24583ab5189d00cc7cb0d62b.tar.gz
external_libdrm-80f33f4529710f5a24583ab5189d00cc7cb0d62b.tar.bz2
external_libdrm-80f33f4529710f5a24583ab5189d00cc7cb0d62b.zip
tests/amdgpu: drop unused variables
Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com> Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Diffstat (limited to 'tests/amdgpu/deadlock_tests.c')
-rw-r--r--tests/amdgpu/deadlock_tests.c3
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)
int suite_deadlock_tests_init(void)
{
- struct amdgpu_gpu_info gpu_info = {0};
int r;
r = amdgpu_device_initialize(drm_amdgpu[0], &major_version,
@@ -177,7 +176,7 @@ static void amdgpu_deadlock_helper(unsigned ip_type)
struct amdgpu_cs_ib_info ib_info;
struct amdgpu_cs_fence fence_status;
uint32_t expired;
- int i, r, instance;
+ int i, r;
amdgpu_bo_list_handle bo_list;
amdgpu_va_handle va_handle;