]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
drm/mediatek: mtk_hdmi_v2: Remove unneeded semicolon
authorChen Ni <nichen@iscas.ac.cn>
Tue, 25 Nov 2025 01:47:40 +0000 (09:47 +0800)
committerChun-Kuang Hu <chunkuang.hu@kernel.org>
Tue, 30 Dec 2025 15:19:46 +0000 (15:19 +0000)
Remove unnecessary semicolons reported by Coccinelle/coccicheck and the
semantic patch at scripts/coccinelle/misc/semicolon.cocci.

Signed-off-by: Chen Ni <nichen@iscas.ac.cn>
Link: https://patchwork.kernel.org/project/dri-devel/patch/20251125014740.1059347-1-nichen@iscas.ac.cn/
Signed-off-by: Chun-Kuang Hu <chunkuang.hu@kernel.org>
drivers/gpu/drm/mediatek/mtk_hdmi_v2.c

index c272e1e74b7de03a726402f77296b05c87b24e05..d510ca8cfc4a521b8054070ac55987fd548b8456 100644 (file)
@@ -746,7 +746,7 @@ static void mtk_hdmi_v2_change_video_resolution(struct mtk_hdmi *hdmi,
        case HDMI_COLORSPACE_YUV420:
                mtk_hdmi_yuv420_downsampling(hdmi, true);
                break;
-       };
+       }
 }
 
 static void mtk_hdmi_v2_output_set_display_mode(struct mtk_hdmi *hdmi,
@@ -1157,7 +1157,7 @@ static int mtk_hdmi_v2_hdmi_clear_infoframe(struct drm_bridge *bridge,
        case HDMI_INFOFRAME_TYPE_DRM:
        default:
                break;
-       };
+       }
 
        return 0;
 }
@@ -1185,7 +1185,7 @@ static int mtk_hdmi_v2_hdmi_write_infoframe(struct drm_bridge *bridge,
        default:
                dev_err(hdmi->dev, "Unsupported HDMI infoframe type %u\n", type);
                break;
-       };
+       }
 
        return 0;
 }