gallium/drivers: Remove unnecessary semicolons
authorEdward O'Callaghan <eocallaghan@alterapraxis.com>
Tue, 5 Jan 2016 10:07:19 +0000 (21:07 +1100)
committerBrian Paul <brianp@vmware.com>
Wed, 6 Jan 2016 15:04:03 +0000 (08:04 -0700)
Found-by: Coccinelle
Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/gallium/drivers/i915/i915_state.c
src/gallium/drivers/ilo/shader/ilo_shader_vs.c
src/gallium/drivers/llvmpipe/lp_test_blend.c
src/gallium/drivers/llvmpipe/lp_test_conv.c
src/gallium/drivers/r300/compiler/r500_fragprog.c
src/gallium/drivers/r600/r600_shader.c
src/gallium/drivers/radeonsi/cik_sdma.c
src/gallium/drivers/softpipe/sp_query.c
src/gallium/drivers/svga/svga_cmd.c
src/gallium/drivers/vc4/vc4_program.c

index 6ba9646f7ab661f7c3b7392c124ebb6567951f96..d1661fed3f75a26e7913148a91a6753a68d02634 100644 (file)
@@ -423,7 +423,7 @@ i915_prepare_vertex_sampling(struct i915_context *i915)
          for (j = view->u.tex.first_level; j <= tex->last_level; j++) {
             mip_offsets[j] = i915_texture_offset(i915_tex, j , 0 /* FIXME depth */);
             row_stride[j] = i915_tex->stride;
-            img_stride[j] = 0; /* FIXME */;
+            img_stride[j] = 0; /* FIXME */
          }
 
          draw_set_mapped_texture(i915->draw,
index a29baab10c149a06847d8a58cf6a019f246c1d8a..46a7e6f69d0ed2f6bdc1fa6180f89515c4972615 100644 (file)
@@ -126,7 +126,7 @@ vs_lower_opcode_tgsi_const_gen6(struct vs_compile_context *vcc,
    tc_MOV(tc, block_offsets, idx);
 
    msg_type = GEN6_MSG_DP_OWORD_DUAL_BLOCK_READ;
-   msg_ctrl = GEN6_MSG_DP_OWORD_DUAL_BLOCK_SIZE_1;;
+   msg_ctrl = GEN6_MSG_DP_OWORD_DUAL_BLOCK_SIZE_1;
    msg_len = 2;
 
    desc = tsrc_imm_mdesc_data_port(tc, false, msg_len, 1, true, false,
index 7b19174f345d064b3854ad3f2be63060e6b83d18..9139b83f05a238b1a6acdc4a1910c13461808c2d 100644 (file)
@@ -184,7 +184,7 @@ add_blend_test(struct gallivm_state *gallivm,
 
    LLVMBuildStore(builder, res, res_ptr);
 
-   LLVMBuildRetVoid(builder);;
+   LLVMBuildRetVoid(builder);
 
    gallivm_verify_function(gallivm, func);
 
index a30f35c8149295f54c4db5a1520f25cebfe58d39..02a63193af5e20da5c04ca3949f9c81f14ceeb40 100644 (file)
@@ -140,7 +140,7 @@ add_conv_test(struct gallivm_state *gallivm,
       LLVMBuildStore(builder, dst[i], ptr);
    }
 
-   LLVMBuildRetVoid(builder);;
+   LLVMBuildRetVoid(builder);
 
    gallivm_verify_function(gallivm, func);
 
index 88aad8a054f11a78b416bc7fa1b95bd4037cf76c..4c415afcb055fb1d684af7c4863465d185eb6f75 100644 (file)
@@ -384,7 +384,7 @@ void r500FragmentProgramDump(struct radeon_compiler *c, void *user)
     case R500_INST_TYPE_OUT: str = "OUT"; break;
     case R500_INST_TYPE_FC: str = "FC"; break;
     case R500_INST_TYPE_TEX: str = "TEX"; break;
-    };
+    }
     fprintf(stderr,"%s %s %s %s %s ", str,
            inst & R500_INST_TEX_SEM_WAIT ? "TEX_WAIT" : "",
            inst & R500_INST_LAST ? "LAST" : "",
index c1565498ea541297b6be53aa485d30118984831a..07d06aa24df3aa81e3c7ff26baffe9753cc9d01a 100644 (file)
@@ -4427,7 +4427,7 @@ static int cayman_mul_double_instr(struct r600_shader_ctx *ctx)
                        memset(&alu, 0, sizeof(struct r600_bytecode_alu));
                        alu.op = ctx->inst_info->op;
                        for (j = 0; j < inst->Instruction.NumSrcRegs; j++) {
-                               r600_bytecode_src(&alu.src[j], &ctx->src[j], k * 2 + ((i == 3) ? 0 : 1));;
+                               r600_bytecode_src(&alu.src[j], &ctx->src[j], k * 2 + ((i == 3) ? 0 : 1));
                        }
                        alu.dst.sel = t1;
                        alu.dst.chan = i;
index 2de237b47163fd6f1fc77ffd777226c1ded0f315..105a1b2a87889e8938724b01df279709f304e898 100644 (file)
@@ -196,7 +196,7 @@ static void cik_sdma_copy_tile(struct si_context *ctx,
                        (tile_split << 11) | (mt << 8) | (array_mode << 3) |
                        lbpe;
                cs->buf[cs->cdw++] = y << 16; /* | x */
-               cs->buf[cs->cdw++] = 0; /* z */;
+               cs->buf[cs->cdw++] = 0; /* z */
                cs->buf[cs->cdw++] = addr & 0xfffffffc;
                cs->buf[cs->cdw++] = addr >> 32;
                cs->buf[cs->cdw++] = (pitch / bpe) - 1;
index 76105b4c0ec2f660cb3505cb18dbb30408a3f63c..c28d28d5f5d75d9ffc2a34bfd3cb0751e5c42a72 100644 (file)
@@ -223,7 +223,7 @@ softpipe_get_query_result(struct pipe_context *pipe,
       break;
    case PIPE_QUERY_PIPELINE_STATISTICS:
       memcpy(vresult, &sq->stats,
-             sizeof(struct pipe_query_data_pipeline_statistics));;
+             sizeof(struct pipe_query_data_pipeline_statistics));
       break;
    case PIPE_QUERY_GPU_FINISHED:
       vresult->b = TRUE;
index 10442cb46e70851c8ee42225e2fa4bbb6b26b57b..f35b1371ebea340ec262f93f8b65e1b4eba40bf6 100644 (file)
@@ -337,7 +337,7 @@ SVGA3D_DefineSurface2D(struct svga_winsys_context *swc,    // IN
    mipSizes[0].height = height;
    mipSizes[0].depth = 1;
 
-   swc->commit(swc);;
+   swc->commit(swc);
 
    return PIPE_OK;
 }
@@ -372,7 +372,7 @@ SVGA3D_DestroySurface(struct svga_winsys_context *swc,
    
    swc->surface_relocation(swc, &cmd->sid, NULL, sid,
                            SVGA_RELOC_WRITE | SVGA_RELOC_INTERNAL);
-   swc->commit(swc);;
+   swc->commit(swc);
 
    return PIPE_OK;
 }
index da0d21111a0ef82449722240765aaffff4bbd391..44e89fe64e9e2fb34387a34e568eadae8969275e 100644 (file)
@@ -89,7 +89,7 @@ indirect_uniform_load(struct vc4_compile *c, nir_intrinsic_instr *intr)
                 range->dst_offset = c->next_ubo_dst_offset;
                 c->next_ubo_dst_offset += range->size;
                 c->num_ubo_ranges++;
-        };
+        }
 
         offset -= range->src_offset;