Skip to contentSkip to conversation

phy: stm32: Remove unneeded semicolon

PATCH Applied Yang Li 2 participants 2 messages Oct 17, 2024

Subsystems (3)
lore
Share & tools
lore

Yang Li

author
#0 lore raw

PATCH 1/1 phy: stm32: Remove unneeded semicolon

This patch removes an unneeded semicolon after a switch statement.

./drivers/phy/st/phy-stm32-combophy.c:226:2-3: Unneeded semicolon

---
 drivers/phy/st/phy-stm32-combophy.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/phy/st/phy-stm32-combophy.c +1 -1
index e1e7083ccb5f..765bb34fe358 100644
@@ -223,7 +223,7 @@ static int stm32_combophy_pll_init(struct stm32_combophy *combophy)
 	default:
 		dev_err(combophy->dev, "Invalid rate 0x%x\n", clk_rate);
 		return -EINVAL;
-	};
+	}
 
 	cr1_mask |= SYSCFG_COMBOPHY_CR1_REFCLKDIV2;
 	cr1_val |= REFCLDIV_0;
Signature · 1 line
2.32.0.3.g01195cf9f
maintainer Applied
#1 lore raw
Quoted 5 lines · Yang Li

This patch removes an unneeded semicolon after a switch statement.

./drivers/phy/st/phy-stm32-combophy.c:226:2-3: Unneeded semicolon

Applied, thanks!

[1/1] phy: stm32: Remove unneeded semicolon

      commit: e592a65584fce0852825156086cfa1d5ef4dc2b0

Best regards,

Signature · 1 line
~Vinod