Skip to content

Commit f9c68b1

Browse files
Chen NiChun-Kuang Hu
authored andcommitted
drm/mediatek: mtk_hdmi_v2: Remove unneeded semicolon
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>
1 parent 8f0b4cc commit f9c68b1

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

drivers/gpu/drm/mediatek/mtk_hdmi_v2.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -746,7 +746,7 @@ static void mtk_hdmi_v2_change_video_resolution(struct mtk_hdmi *hdmi,
746746
case HDMI_COLORSPACE_YUV420:
747747
mtk_hdmi_yuv420_downsampling(hdmi, true);
748748
break;
749-
};
749+
}
750750
}
751751

752752
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,
11571157
case HDMI_INFOFRAME_TYPE_DRM:
11581158
default:
11591159
break;
1160-
};
1160+
}
11611161

11621162
return 0;
11631163
}
@@ -1185,7 +1185,7 @@ static int mtk_hdmi_v2_hdmi_write_infoframe(struct drm_bridge *bridge,
11851185
default:
11861186
dev_err(hdmi->dev, "Unsupported HDMI infoframe type %u\n", type);
11871187
break;
1188-
};
1188+
}
11891189

11901190
return 0;
11911191
}

0 commit comments

Comments
 (0)