From: Michel Dänzer Date: Thu, 23 Aug 2012 15:55:51 +0000 (+0200) Subject: radeonsi: Drop extraneous semicolons from pm4 state macro definitions. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=84fdda280f4361add3802476ce9a30ac1c0b4c69;p=mesa.git radeonsi: Drop extraneous semicolons from pm4 state macro definitions. 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 --- 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,