Skip to contentSkip to conversation

phy: phy-mtk-pcie-sphy: Remove unneeded semicolon

PATCH Applied Chen Ni 3 participants 3 messages Oct 8 – Nov 12

Subsystems (3)
lore
Share & tools
lore

Chen Ni

author
#0 lore raw

PATCH 1/1 phy: phy-mtk-pcie-sphy: Remove unneeded semicolon

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

---
 drivers/phy/mediatek/phy-mtk-pcie-sphy.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/phy/mediatek/phy-mtk-pcie-sphy.c +1 -1
index 2bf10346ea97..99675112548b 100644
@@ -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;
Signature · 1 line
2.25.1
maintainer Applied
#2 lore raw
In reply to Chen Ni
Quoted 4 lines · Chen Ni

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

Applied, thanks!

[1/1] phy: phy-mtk-pcie-sphy: Remove unneeded semicolon

      commit: 39515eaa61116b7ff32e935458b682b1c5ce0f94

Best regards,

Signature · 1 line
~Vinod