summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGrazvydas Ignotas <[email protected]>2018-01-14 23:40:25 +0200
committerGrazvydas Ignotas <[email protected]>2018-01-17 00:39:55 +0200
commite3adb1abaf739f317df3a67f61aea2013e88c840 (patch)
tree33442514e927baeef704b97a985f5f2c73e8d8b6
parent6129c03cc7328696f69c5aaa7e204c8257174933 (diff)
radeon: remove unneeded semicolons
Trivial. Found by Coccinelle. Reviewed-by: Eric Engestrom <[email protected]>
-rw-r--r--src/gallium/drivers/radeon/radeon_vcn_dec.c6
-rw-r--r--src/mesa/drivers/dri/radeon/radeon_debug.c2
-rw-r--r--src/mesa/drivers/dri/radeon/radeon_state_init.c2
-rw-r--r--src/mesa/drivers/dri/radeon/radeon_swtcl.c2
4 files changed, 6 insertions, 6 deletions
diff --git a/src/gallium/drivers/radeon/radeon_vcn_dec.c b/src/gallium/drivers/radeon/radeon_vcn_dec.c
index d51eb6e3949..f83e9e5fc47 100644
--- a/src/gallium/drivers/radeon/radeon_vcn_dec.c
+++ b/src/gallium/drivers/radeon/radeon_vcn_dec.c
@@ -640,10 +640,10 @@ static struct pb_buffer *rvcn_dec_message_decode(struct radeon_decoder *dec,
index->size = sizeof(rvcn_dec_message_avc_t);
index->filled = 0;
- decode->stream_type = dec->stream_type;;
+ decode->stream_type = dec->stream_type;
decode->decode_flags = 0x1;
- decode->width_in_samples = dec->base.width;;
- decode->height_in_samples = dec->base.height;;
+ decode->width_in_samples = dec->base.width;
+ decode->height_in_samples = dec->base.height;
decode->bsd_size = align(dec->bs_size, 128);
decode->dpb_size = dec->dpb.res->buf->size;
diff --git a/src/mesa/drivers/dri/radeon/radeon_debug.c b/src/mesa/drivers/dri/radeon/radeon_debug.c
index 383a5df6749..91f86a96b52 100644
--- a/src/mesa/drivers/dri/radeon/radeon_debug.c
+++ b/src/mesa/drivers/dri/radeon/radeon_debug.c
@@ -75,7 +75,7 @@ void _radeon_debug_add_indent(void)
if (radeon->debug.indent_depth < length - 1) {
radeon->debug.indent[radeon->debug.indent_depth] = '\t';
++radeon->debug.indent_depth;
- };
+ }
}
void _radeon_debug_remove_indent(void)
diff --git a/src/mesa/drivers/dri/radeon/radeon_state_init.c b/src/mesa/drivers/dri/radeon/radeon_state_init.c
index 99c535a49cf..b847be54c47 100644
--- a/src/mesa/drivers/dri/radeon/radeon_state_init.c
+++ b/src/mesa/drivers/dri/radeon/radeon_state_init.c
@@ -440,7 +440,7 @@ static void cube_emit_cs(struct gl_context *ctx, struct radeon_state_atom *atom)
case 2: base_reg = RADEON_PP_CUBIC_OFFSET_T2_0; break;
default:
case 0: base_reg = RADEON_PP_CUBIC_OFFSET_T0_0; break;
- };
+ }
BEGIN_BATCH(dwords);
OUT_BATCH_TABLE(atom->cmd, 2);
lvl = &t->mt->levels[0];
diff --git a/src/mesa/drivers/dri/radeon/radeon_swtcl.c b/src/mesa/drivers/dri/radeon/radeon_swtcl.c
index d5365cddcdf..860bba6d32f 100644
--- a/src/mesa/drivers/dri/radeon/radeon_swtcl.c
+++ b/src/mesa/drivers/dri/radeon/radeon_swtcl.c
@@ -209,7 +209,7 @@ static void radeonSetVertexFormat( struct gl_context *ctx )
break;
default:
continue;
- };
+ }
}
}
}