[PATCH] phy: phy-mtk-pcie-sphy: Remove unneeded semicolon

Chen Ni nichen at iscas.ac.cn
Thu Oct 8 01:22:42 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-pcie-sphy.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/phy/mediatek/phy-mtk-pcie-sphy.c b/drivers/phy/mediatek/phy-mtk-pcie-sphy.c
index 2bf10346ea97..99675112548b 100644
--- a/drivers/phy/mediatek/phy-mtk-pcie-sphy.c
+++ b/drivers/phy/mediatek/phy-mtk-pcie-sphy.c
@@ -480,7 +480,7 @@ static int mtk_pcie_sphy_get_calibration_data(struct mtk_pcie_sphy *pcie_sphy)
 			return 0;
 		}
 		return ret;
-	};
+	}
 	cal->supported = true;
 
 	return 0;
-- 
2.25.1




More information about the Linux-mediatek mailing list