summaryrefslogtreecommitdiff
path: root/tests/gen3_render_linear_blits.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/gen3_render_linear_blits.c')
-rw-r--r--tests/gen3_render_linear_blits.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/tests/gen3_render_linear_blits.c b/tests/gen3_render_linear_blits.c
index 33dee69c..209029f4 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)
{