Skip to content

Commit 05dc7fc

Browse files
tobluxHans Verkuil
authored andcommitted
media: chips-media: wave5: Remove unnecessary semicolons
Remove unnecessary semicolons reported by Coccinelle/coccicheck and the semantic patch at scripts/coccinelle/misc/semicolon.cocci. Signed-off-by: Thorsten Blum <[email protected]> Reviewed-by: Nicolas Dufresne <[email protected]> Signed-off-by: Sebastian Fricke <[email protected]> Signed-off-by: Hans Verkuil <[email protected]>
1 parent cecce08 commit 05dc7fc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

drivers/media/platform/chips-media/wave5/wave5-hw.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2315,7 +2315,7 @@ static bool wave5_vpu_enc_check_common_param_valid(struct vpu_instance *inst,
23152315
param->intra_refresh_mode);
23162316
return false;
23172317
}
2318-
};
2318+
}
23192319
return true;
23202320

23212321
invalid_refresh_argument:

drivers/media/platform/chips-media/wave5/wave5-vpu-enc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ static int switch_state(struct vpu_instance *inst, enum vpu_instance_state state
9292
break;
9393
case VPU_INST_STATE_STOP:
9494
break;
95-
};
95+
}
9696

9797
dev_dbg(inst->dev->dev, "Switch state from %s to %s.\n",
9898
state_to_str(inst->state), state_to_str(state));

0 commit comments

Comments
 (0)