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:
Daniel Vetter 2013-07-25 22:10:51 +02:00
parent d9bc787673
commit 9ff5161354

View File

@ -128,9 +128,6 @@ static void test_flink_name(void)
assert(status == 0);
}
fd = drm_open_any();
assert(fd >= 0);
close(fd);
}
@ -186,9 +183,6 @@ static void test_flink_close(void)
assert(status == 0);
}
fd = drm_open_any();
assert(fd >= 0);
close(fd);
obj_count = get_object_count() - obj_count;