summaryrefslogtreecommitdiff
path: root/tests/gem_exec_faulting_reloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/gem_exec_faulting_reloc.c')
-rw-r--r--tests/gem_exec_faulting_reloc.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/tests/gem_exec_faulting_reloc.c b/tests/gem_exec_faulting_reloc.c
index b1ce0504..be845107 100644
--- a/tests/gem_exec_faulting_reloc.c
+++ b/tests/gem_exec_faulting_reloc.c
@@ -175,14 +175,6 @@ static int gem_linear_blt(uint32_t *batch,
return (b+2 - batch) * sizeof(uint32_t);
}
-static void gem_close(int fd, uint32_t handle)
-{
- struct drm_gem_close close;
-
- close.handle = handle;
- (void)drmIoctl(fd, DRM_IOCTL_GEM_CLOSE, &close);
-}
-
static void gem_sync(int fd, uint32_t handle)
{
struct drm_i915_gem_set_domain set_domain;