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

Yang Li yang.lee at linux.alibaba.com
Wed Feb 1 17:07:50 PST 2023


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




More information about the linux-arm-kernel mailing list