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

Matthias Brugger
2023-02-02T10:00:22Z

On 02/02/2023 02:07, Yang Li wrote:
> ./drivers/clk/mediatek/clk-mtk.c:518:2-3: Unneeded semicolon
>
> Reported-by: Abaci Robot <abaci@linux.alibaba.com>
> Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=3926
> Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>

Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com>

> ---
> 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 */