linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH -next] phy: stm32: Remove unneeded semicolon
@ 2024-10-17  4:06 Yang Li
  2024-10-17 15:35 ` Vinod Koul
  0 siblings, 1 reply; 2+ messages in thread
From: Yang Li @ 2024-10-17  4:06 UTC (permalink / raw)
  To: christian.bruel, mcoquelin.stm32, alexandre.torgue
  Cc: linux-phy, linux-stm32, linux-arm-kernel, linux-kernel, Yang Li,
	Abaci Robot

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



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH -next] phy: stm32: Remove unneeded semicolon
  2024-10-17  4:06 [PATCH -next] phy: stm32: Remove unneeded semicolon Yang Li
@ 2024-10-17 15:35 ` Vinod Koul
  0 siblings, 0 replies; 2+ messages in thread
From: Vinod Koul @ 2024-10-17 15:35 UTC (permalink / raw)
  To: christian.bruel, mcoquelin.stm32, alexandre.torgue, Yang Li
  Cc: linux-phy, linux-stm32, linux-arm-kernel, linux-kernel,
	Abaci Robot


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




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-10-17 15:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-17  4:06 [PATCH -next] phy: stm32: Remove unneeded semicolon Yang Li
2024-10-17 15:35 ` Vinod Koul

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).