[PATCH] phy: phy-mtk-dp: Remove unneeded semicolon

Chen Ni nichen at iscas.ac.cn
Thu Oct 8 01:10:27 PDT 2026


Remove unnecessary semicolons reported by Coccinelle/coccicheck and the
semantic patch at scripts/coccinelle/misc/semicolon.cocci.

Signed-off-by: Chen Ni <nichen at iscas.ac.cn>
---
 drivers/phy/mediatek/phy-mtk-dp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/phy/mediatek/phy-mtk-dp.c b/drivers/phy/mediatek/phy-mtk-dp.c
index dbef4a4bd60a..8294cfe785cc 100644
--- a/drivers/phy/mediatek/phy-mtk-dp.c
+++ b/drivers/phy/mediatek/phy-mtk-dp.c
@@ -639,7 +639,7 @@ static int mtk_dp_phy_get_calibration_data(struct mtk_dp_phy *dp_phy)
 			return 0;
 		}
 		return ret;
-	};
+	}
 
 	return 0;
 }
-- 
2.25.1




More information about the Linux-mediatek mailing list