[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200428063359.16433-1-yanaijie@huawei.com>
Date: Tue, 28 Apr 2020 14:33:59 +0800
From: Jason Yan <yanaijie@...wei.com>
To: <Peter.Chen@....com>, <gregkh@...uxfoundation.org>,
<mirq-linux@...e.qmqm.pl>, <linux-usb@...r.kernel.org>,
<linux-kernel@...r.kernel.org>
CC: Jason Yan <yanaijie@...wei.com>
Subject: [PATCH] usb: chipidea: usb2: remove unneeded semicolon
Fix the following coccicheck warning:
drivers/usb/chipidea/ci_hdrc_usb2.c:75:28-29: Unneeded semicolon
Signed-off-by: Jason Yan <yanaijie@...wei.com>
---
drivers/usb/chipidea/ci_hdrc_usb2.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/usb/chipidea/ci_hdrc_usb2.c b/drivers/usb/chipidea/ci_hdrc_usb2.c
index 93c864759135..89e1d82d739b 100644
--- a/drivers/usb/chipidea/ci_hdrc_usb2.c
+++ b/drivers/usb/chipidea/ci_hdrc_usb2.c
@@ -72,7 +72,7 @@ static int ci_hdrc_usb2_probe(struct platform_device *pdev)
priv->clk = devm_clk_get_optional(dev, NULL);
if (IS_ERR(priv->clk))
- return PTR_ERR(priv->clk);;
+ return PTR_ERR(priv->clk);
ret = clk_prepare_enable(priv->clk);
if (ret) {
--
2.21.1
Powered by blists - more mailing lists