[PATCH -next] phy: stm32: Remove unneeded semicolon

Yang Li posted 1 patch 1 month, 1 week ago
drivers/phy/st/phy-stm32-combophy.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH -next] phy: stm32: Remove unneeded semicolon
Posted by Yang Li 1 month, 1 week ago
This patch removes an unneeded semicolon after a switch statement.

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

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=11403
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
---
 drivers/phy/st/phy-stm32-combophy.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/phy/st/phy-stm32-combophy.c b/drivers/phy/st/phy-stm32-combophy.c
index e1e7083ccb5f..765bb34fe358 100644
--- a/drivers/phy/st/phy-stm32-combophy.c
+++ b/drivers/phy/st/phy-stm32-combophy.c
@@ -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;
-- 
2.32.0.3.g01195cf9f
Re: [PATCH -next] phy: stm32: Remove unneeded semicolon
Posted by Vinod Koul 1 month, 1 week ago
On Thu, 17 Oct 2024 12:06:57 +0800, Yang Li wrote:
> 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,
-- 
~Vinod