summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2014-01-21 23:46:44 +0100
committerMarek Olšák <[email protected]>2014-01-28 01:39:08 +0100
commitc53b8de335fd1106f0a0fbefde9b288a72004484 (patch)
tree5543a9520b0c325aa4e26e5e2b22798a07428e27
parentaa90f17126d020eda8f932633627180d0005747d (diff)
r600g: remove a no-op while loop
for (;;) { } while (); I was surprised to see such a statement. Reviewed-by: Michel Dänzer <[email protected]> Reviewed-by: Tom Stellard <[email protected]>
-rw-r--r--src/gallium/drivers/radeon/r600_query.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeon/r600_query.c b/src/gallium/drivers/radeon/r600_query.c
index bf73a1464b0..915d37ade9e 100644
--- a/src/gallium/drivers/radeon/r600_query.c
+++ b/src/gallium/drivers/radeon/r600_query.c
@@ -326,7 +326,7 @@ static void r600_emit_query_predication(struct r600_common_context *ctx, struct
/* set CONTINUE bit for all packets except the first */
op |= PREDICATION_CONTINUE;
}
- } while (qbuf);
+ }
}
}