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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Marius Vlad <marius.c.vlad@xxxxxxxxx>
---
 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

_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux