From 9ff5161354f2f8023e08eb87ebc173c01c2f607a Mon Sep 17 00:00:00 2001 From: Daniel Vetter Date: Thu, 25 Jul 2013 22:10:51 +0200 Subject: [PATCH] tests/gem_flink_race: Kill duplicate drm_open_any Leak test that leaks ... Signed-off-by: Daniel Vetter --- tests/gem_flink_race.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/tests/gem_flink_race.c b/tests/gem_flink_race.c index 97c6e670..ce6f3027 100644 --- a/tests/gem_flink_race.c +++ b/tests/gem_flink_race.c @@ -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;