From 84fdda280f4361add3802476ce9a30ac1c0b4c69 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Michel=20D=C3=A4nzer?= Date: Thu, 23 Aug 2012 17:55:51 +0200 Subject: [PATCH] radeonsi: Drop extraneous semicolons from pm4 state macro definitions. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Could cause build failures if trying to use the macros in certain constructs. Signed-off-by: Michel Dänzer Reviewed-by: Christian König Reviewed-by: Alex Deucher --- src/gallium/drivers/radeonsi/si_state.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/gallium/drivers/radeonsi/si_state.h b/src/gallium/drivers/radeonsi/si_state.h index 87b53702314..f53ecb720ff 100644 --- a/src/gallium/drivers/radeonsi/si_state.h +++ b/src/gallium/drivers/radeonsi/si_state.h @@ -104,7 +104,7 @@ union si_state { #define si_pm4_bind_state(rctx, member, value) \ do { \ (rctx)->queued.named.member = (value); \ - } while(0); + } while(0) #define si_pm4_delete_state(rctx, member, value) \ do { \ @@ -113,7 +113,7 @@ union si_state { } \ si_pm4_free_state(rctx, (struct si_pm4_state *)(value), \ si_pm4_block_idx(member)); \ - } while(0); + } while(0) #define si_pm4_set_state(rctx, member, value) \ do { \ @@ -123,7 +123,7 @@ union si_state { si_pm4_block_idx(member)); \ (rctx)->queued.named.member = (value); \ } \ - } while(0); + } while(0) /* si_state.c */ bool si_is_format_supported(struct pipe_screen *screen, -- 2.30.2