radeonsi: Drop extraneous semicolons from pm4 state macro definitions.
authorMichel Dänzer <michel.daenzer@amd.com>
Thu, 23 Aug 2012 15:55:51 +0000 (17:55 +0200)
committerMichel Dänzer <michel@daenzer.net>
Mon, 27 Aug 2012 09:50:38 +0000 (11:50 +0200)
Could cause build failures if trying to use the macros in certain constructs.

Signed-off-by: Michel Dänzer <michel.daenzer@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
src/gallium/drivers/radeonsi/si_state.h

index 87b53702314469ff7018ac324d0fa09a2e4fa0ff..f53ecb720ff1424f5e384323f1c6d3c39f6ce969 100644 (file)
@@ -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,