Message ID | 20230202010750.79515-1-yang.lee@linux.alibaba.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | [-next] clk: mediatek: clk-mtk: Remove unneeded semicolon | expand |
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 */
Quoting Yang Li (2023-02-01 17:07:50) > ./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> > --- Applied to clk-next
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 */
./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> --- drivers/clk/mediatek/clk-mtk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)