[Intel-gfx] [PATCH i-g-t] tests/{gem_ctx_switch, gem_exec_create}: Fix shadow declaration of child variable.

Marius Vlad marius.c.vlad at intel.com
Mon May 9 13:23:11 UTC 2016


Signed-off-by: Marius Vlad <marius.c.vlad at intel.com>
---
 tests/gem_ctx_switch.c  | 1 -
 tests/gem_exec_create.c | 1 -
 2 files changed, 2 deletions(-)

diff --git a/tests/gem_ctx_switch.c b/tests/gem_ctx_switch.c
index 691a4f1..004ba22 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);
diff --git a/tests/gem_exec_create.c b/tests/gem_exec_create.c
index 5cd9302..33fc85c 100644
--- a/tests/gem_exec_create.c
+++ b/tests/gem_exec_create.c
@@ -75,7 +75,6 @@ static void all(int fd, unsigned flags, int timeout, int ncpus)
 	unsigned engines[16];
 	unsigned nengine;
 	unsigned engine;
-	int child;
 
 	nengine = 0;
 	for_each_engine(fd, engine) {
-- 
2.8.0.rc3



More information about the Intel-gfx mailing list