summaryrefslogtreecommitdiff
path: root/tests/gem_ctx_switch.c
diff options
context:
space:
mode:
authormarius vlad <marius.c.vlad@intel.com>2016-05-09 16:23:11 +0300
committerMarius Vlad <marius.c.vlad@intel.com>2016-05-10 17:05:55 +0300
commitcc247550603173a37ff6f55ee6cbd65e74ff7dc7 (patch)
tree46b348666d34fc8764cd431293f5f35cebae952c /tests/gem_ctx_switch.c
parentef8fc998a74b7a858542e87c69334be8d6a527d0 (diff)
tests/{gem_ctx_switch, gem_exec_create}: Fix shadow declaration of child variable.
Signed-off-by: Marius Vlad <marius.c.vlad@intel.com> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'tests/gem_ctx_switch.c')
-rw-r--r--tests/gem_ctx_switch.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/gem_ctx_switch.c b/tests/gem_ctx_switch.c
index 691a4f1f..004ba227 100644
--- a/tests/gem_ctx_switch.c
+++ b/tests/gem_ctx_switch.c
@@ -73,7 +73,6 @@ static void single(int fd, uint32_t handle,
struct drm_i915_gem_exec_object2 obj;
struct drm_i915_gem_relocation_entry reloc;
uint32_t contexts[64];
- int child;
int n;
gem_require_ring(fd, e->exec_id | e->flags);