diff mbox

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

Message ID 1462800191-29284-1-git-send-email-marius.c.vlad@intel.com (mailing list archive)
State New, archived
Headers show

Commit Message

Marius Vlad May 9, 2016, 1:23 p.m. UTC
Signed-off-by: Marius Vlad <marius.c.vlad@intel.com>
---
 tests/gem_ctx_switch.c  | 1 -
 tests/gem_exec_create.c | 1 -
 2 files changed, 2 deletions(-)

Comments

Chris Wilson May 9, 2016, 2:04 p.m. UTC | #1
On Mon, May 09, 2016 at 04:23:11PM +0300, Marius Vlad wrote:
> Signed-off-by: Marius Vlad <marius.c.vlad@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
-Chris
diff mbox

Patch

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) {