Mesa (master): radeonsi: Drop extraneous semicolons from pm4 state macro definitions.

Michel Dänzer daenzer at kemper.freedesktop.org
Mon Aug 27 10:13:57 UTC 2012


Module: Mesa
Branch: master
Commit: 84fdda280f4361add3802476ce9a30ac1c0b4c69
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=84fdda280f4361add3802476ce9a30ac1c0b4c69

Author: Michel Dänzer <michel.daenzer at amd.com>
Date:   Thu Aug 23 17:55:51 2012 +0200

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 <michel.daenzer at amd.com>
Reviewed-by: Christian König <christian.koenig at amd.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>

---

 src/gallium/drivers/radeonsi/si_state.h |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/gallium/drivers/radeonsi/si_state.h b/src/gallium/drivers/radeonsi/si_state.h
index 87b5370..f53ecb7 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,




More information about the mesa-commit mailing list