Message ID | 20241017040657.33992-1-yang.lee@linux.alibaba.com |
---|---|
State | Accepted |
Commit | e592a65584fce0852825156086cfa1d5ef4dc2b0 |
Headers | show |
Series | [-next] phy: stm32: Remove unneeded semicolon | expand |
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,
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;
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(-)