mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-22 13:52:54 +00:00
tests/gem_flink_race: Kill duplicate drm_open_any
Leak test that leaks ... Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
@@ -128,9 +128,6 @@ static void test_flink_name(void)
|
|||||||
assert(status == 0);
|
assert(status == 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
fd = drm_open_any();
|
|
||||||
assert(fd >= 0);
|
|
||||||
|
|
||||||
close(fd);
|
close(fd);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -186,9 +183,6 @@ static void test_flink_close(void)
|
|||||||
assert(status == 0);
|
assert(status == 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
fd = drm_open_any();
|
|
||||||
assert(fd >= 0);
|
|
||||||
|
|
||||||
close(fd);
|
close(fd);
|
||||||
|
|
||||||
obj_count = get_object_count() - obj_count;
|
obj_count = get_object_count() - obj_count;
|
||||||
|
|||||||
Reference in New Issue
Block a user