Skip to contentSkip to conversation

tests/{gem_ctx_switch, gem_exec_create}: Fix shadow declaration of child variable.

PATCH In review Marius Vlad 2 participants 2 messages May 9, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tests/{gem_ctx_switch, gem_exec_create}: Fix shadow declaration of child variable.

---
 tests/gem_ctx_switch.c  | 1 -
 tests/gem_exec_create.c | 1 -
 2 files changed, 2 deletions(-)
tests/gem_ctx_switch.c +0 -1
index 691a4f1..004ba22 100644
@@ -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);
tests/gem_exec_create.c +0 -1
index 5cd9302..33fc85c 100644
@@ -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) {
Signature · 6 lines
2.8.0.rc3

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx