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

Matthias Brugger matthias.bgg at gmail.com
Thu Feb 2 02:00:08 PST 2023



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 at linux.alibaba.com>
> Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=3926
> Signed-off-by: Yang Li <yang.lee at linux.alibaba.com>

Reviewed-by: Matthias Brugger <matthias.bgg at 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 */



More information about the Linux-mediatek mailing list