From 5dd17d3f4bddb075f3fb6fbcd1b6c271f7b746a7 Mon Sep 17 00:00:00 2001 From: Daniel Vetter Date: Tue, 10 Jan 2012 15:07:19 +0100 Subject: lib/drmtest: extract gem_close Signed-Off-by: Daniel Vetter --- tests/gen3_render_linear_blits.c | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'tests/gen3_render_linear_blits.c') diff --git a/tests/gen3_render_linear_blits.c b/tests/gen3_render_linear_blits.c index 33dee69c7..209029f45 100644 --- a/tests/gen3_render_linear_blits.c +++ b/tests/gen3_render_linear_blits.c @@ -77,16 +77,6 @@ static uint32_t gem_create(int fd, int size) return create.handle; } -static void gem_close(int fd, uint32_t handle) -{ - struct drm_gem_close close; - int ret; - - close.handle = handle; - ret = drmIoctl(fd, DRM_IOCTL_GEM_CLOSE, &close); - assert(ret == 0); -} - static uint64_t gem_aperture_size(int fd) { -- cgit v1.2.3