summaryrefslogtreecommitdiff
path: root/tests/gem_vmap_blits.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/gem_vmap_blits.c')
-rw-r--r--tests/gem_vmap_blits.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/tests/gem_vmap_blits.c b/tests/gem_vmap_blits.c
index 05550a41..72be1636 100644
--- a/tests/gem_vmap_blits.c
+++ b/tests/gem_vmap_blits.c
@@ -107,16 +107,6 @@ static void gem_vmap_sync(int fd, uint32_t handle)
assert(ret == 0);
}
-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)
{