From c53b8de335fd1106f0a0fbefde9b288a72004484 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marek=20Ol=C5=A1=C3=A1k?= Date: Tue, 21 Jan 2014 23:46:44 +0100 Subject: [PATCH] r600g: remove a no-op while loop MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit for (;;) { } while (); I was surprised to see such a statement. Reviewed-by: Michel Dänzer Reviewed-by: Tom Stellard --- src/gallium/drivers/radeon/r600_query.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); + } } } -- 2.30.2