2023-02-02 01:08:03

by Yang Li

[permalink] [raw]
Subject: [PATCH -next] clk: mediatek: clk-mtk: Remove unneeded semicolon

./drivers/clk/mediatek/clk-mtk.c:518:2-3: Unneeded semicolon

Reported-by: Abaci Robot <[email protected]>
Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=3926
Signed-off-by: Yang Li <[email protected]>
---
drivers/clk/mediatek/clk-mtk.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/clk/mediatek/clk-mtk.c b/drivers/clk/mediatek/clk-mtk.c
index c90c0a6b501b..14e8b64a32a3 100644
--- a/drivers/clk/mediatek/clk-mtk.c
+++ b/drivers/clk/mediatek/clk-mtk.c
@@ -515,7 +515,7 @@ int mtk_clk_simple_probe(struct platform_device *pdev)
mcd->clk_lock, clk_data);
if (r)
goto unregister_factors;
- };
+ }

if (mcd->composite_clks) {
/* We don't check composite_lock because it's optional */
--
2.20.1.7.g153144c



2023-02-02 10:00:22

by Matthias Brugger

[permalink] [raw]
Subject: Re: [PATCH -next] clk: mediatek: clk-mtk: Remove unneeded semicolon



On 02/02/2023 02:07, Yang Li wrote:
> ./drivers/clk/mediatek/clk-mtk.c:518:2-3: Unneeded semicolon
>
> Reported-by: Abaci Robot <[email protected]>
> Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=3926
> Signed-off-by: Yang Li <[email protected]>

Reviewed-by: Matthias Brugger <[email protected]>

> ---
> drivers/clk/mediatek/clk-mtk.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/clk/mediatek/clk-mtk.c b/drivers/clk/mediatek/clk-mtk.c
> index c90c0a6b501b..14e8b64a32a3 100644
> --- a/drivers/clk/mediatek/clk-mtk.c
> +++ b/drivers/clk/mediatek/clk-mtk.c
> @@ -515,7 +515,7 @@ int mtk_clk_simple_probe(struct platform_device *pdev)
> mcd->clk_lock, clk_data);
> if (r)
> goto unregister_factors;
> - };
> + }
>
> if (mcd->composite_clks) {
> /* We don't check composite_lock because it's optional */

2023-02-11 00:02:59

by Stephen Boyd

[permalink] [raw]
Subject: Re: [PATCH -next] clk: mediatek: clk-mtk: Remove unneeded semicolon

Quoting Yang Li (2023-02-01 17:07:50)
> ./drivers/clk/mediatek/clk-mtk.c:518:2-3: Unneeded semicolon
>
> Reported-by: Abaci Robot <[email protected]>
> Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=3926
> Signed-off-by: Yang Li <[email protected]>
> ---

Applied to clk-next