[PATCH -next] clk: meson: Remove unneeded semicolon

Yang Li posted 1 patch 2 years, 7 months ago
drivers/clk/meson/clk-pll.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH -next] clk: meson: Remove unneeded semicolon
Posted by Yang Li 2 years, 7 months ago
./drivers/clk/meson/clk-pll.c:373:2-3: Unneeded semicolon

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

diff --git a/drivers/clk/meson/clk-pll.c b/drivers/clk/meson/clk-pll.c
index 56ec2210f1ad..8fef90bf962f 100644
--- a/drivers/clk/meson/clk-pll.c
+++ b/drivers/clk/meson/clk-pll.c
@@ -370,7 +370,7 @@ static int meson_clk_pll_enable(struct clk_hw *hw)
 		usleep_range(10, 20);
 		meson_parm_write(clk->map, &pll->current_en, 1);
 		usleep_range(40, 50);
-	};
+	}
 
 	if (MESON_PARM_APPLICABLE(&pll->l_detect)) {
 		meson_parm_write(clk->map, &pll->l_detect, 1);
-- 
2.20.1.7.g153144c
Re: [PATCH -next] clk: meson: Remove unneeded semicolon
Posted by Martin Blumenstingl 2 years, 7 months ago
On Wed, Jun 14, 2023 at 10:40 AM Yang Li <yang.lee@linux.alibaba.com> wrote:
>
> ./drivers/clk/meson/clk-pll.c:373:2-3: Unneeded semicolon
>
> Reported-by: Abaci Robot <abaci@linux.alibaba.com>
> Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=5531
> Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
An identical patch was sent within minutes of this one: [0]
The other one has two Reviewed-by already. So I think this one should
be discarded.
Still, thanks for following up on this issue!


Best regards,
Martin


[0] https://lore.kernel.org/linux-amlogic/20230614084808.98819-1-jiapeng.chong@linux.alibaba.com/