media: chips-media: wave5: Remove unnecessary semicolons
authorThorsten Blum <thorsten.blum@toblux.com>
Tue, 13 Feb 2024 14:04:41 +0000 (15:04 +0100)
committerHans Verkuil <hverkuil-cisco@xs4all.nl>
Wed, 28 Feb 2024 07:44:53 +0000 (08:44 +0100)
Remove unnecessary semicolons reported by Coccinelle/coccicheck and the
semantic patch at scripts/coccinelle/misc/semicolon.cocci.

Signed-off-by: Thorsten Blum <thorsten.blum@toblux.com>
Reviewed-by: Nicolas Dufresne <nicolas.dufresne@collabora.com>
Signed-off-by: Sebastian Fricke <sebastian.fricke@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
drivers/media/platform/chips-media/wave5/wave5-hw.c
drivers/media/platform/chips-media/wave5/wave5-vpu-enc.c

index f1e022fb148eafe81fac889f2badbdc0ef54a590..2d82791f575e0173601a950fc08be4da21f67c55 100644 (file)
@@ -2315,7 +2315,7 @@ static bool wave5_vpu_enc_check_common_param_valid(struct vpu_instance *inst,
                                param->intra_refresh_mode);
                        return false;
                }
-       };
+       }
        return true;
 
 invalid_refresh_argument:
index f29cfa3af94ac26678b33a4489889e78030f64a7..8bbf9d10b4677425af50bd90af8347d0a3029744 100644 (file)
@@ -92,7 +92,7 @@ static int switch_state(struct vpu_instance *inst, enum vpu_instance_state state
                break;
        case VPU_INST_STATE_STOP:
                break;
-       };
+       }
 
        dev_dbg(inst->dev->dev, "Switch state from %s to %s.\n",
                state_to_str(inst->state), state_to_str(state));