summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/v3d/v3d_context.c
diff options
context:
space:
mode:
authorEric Engestrom <eric@engestrom.ch>2018-10-20 18:00:08 +0100
committerEric Engestrom <eric.engestrom@intel.com>2018-10-25 12:43:18 +0100
commitbb84fa146f2252f22999205a2904d8a948bffd3b (patch)
tree2e4773252d67da46590ec4a545fc10f6125043a9 /src/gallium/drivers/v3d/v3d_context.c
parent3d261cf77b35c56cc575ce9bb7909d2f8d920233 (diff)
util: use C99 declaration in the for-loop hash_table_foreach() macro
Signed-off-by: Eric Engestrom <eric@engestrom.ch> Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
Diffstat (limited to 'src/gallium/drivers/v3d/v3d_context.c')
-rw-r--r--src/gallium/drivers/v3d/v3d_context.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gallium/drivers/v3d/v3d_context.c b/src/gallium/drivers/v3d/v3d_context.c
index 2fd2fa0bbf3..12741b578e3 100644
--- a/src/gallium/drivers/v3d/v3d_context.c
+++ b/src/gallium/drivers/v3d/v3d_context.c
@@ -43,7 +43,6 @@ v3d_flush(struct pipe_context *pctx)
{
struct v3d_context *v3d = v3d_context(pctx);
- struct hash_entry *entry;
hash_table_foreach(v3d->jobs, entry) {
struct v3d_job *job = entry->data;
v3d_job_submit(v3d, job);