From: Marek Olšák Date: Tue, 21 Jan 2014 22:46:44 +0000 (+0100) Subject: r600g: remove a no-op while loop X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c53b8de335fd1106f0a0fbefde9b288a72004484;p=mesa.git r600g: remove a no-op while loop for (;;) { } while (); I was surprised to see such a statement. Reviewed-by: Michel Dänzer Reviewed-by: Tom Stellard --- 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); + } } }