[igt-dev] [PATCH i-g-t 06/17] gem_wsim: Fix shadowed local

Tvrtko Ursulin
2018-10-18T15:28:30Z

benchmarks/gem_wsim.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/benchmarks/gem_wsim.c b/benchmarks/gem_wsim.c
index adfc2b1bc819..2561817622f6 100644
--- a/benchmarks/gem_wsim.c
+++ b/benchmarks/gem_wsim.c
@@ -1170,7 +1170,6 @@ prepare_workload(unsigned int id, struct workload *wrk, unsigned int flags)
*/
for (i = 0, w = wrk->steps; i < wrk->nr_steps; i++, w++) {
struct w_step *w2;
- int j;

if (w->type != PREEMPTION)
continue;