public inbox for linux-usb@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] usb: chipidea: usb2: remove unneeded semicolon
@ 2020-04-28  6:33 Jason Yan
  2020-04-28 14:02 ` Michał Mirosław
  0 siblings, 1 reply; 3+ messages in thread
From: Jason Yan @ 2020-04-28  6:33 UTC (permalink / raw)
  To: Peter.Chen, gregkh, mirq-linux, linux-usb, linux-kernel; +Cc: Jason Yan

Fix the following coccicheck warning:

drivers/usb/chipidea/ci_hdrc_usb2.c:75:28-29: Unneeded semicolon

Signed-off-by: Jason Yan <yanaijie@huawei.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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-04-29  1:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-04-28  6:33 [PATCH] usb: chipidea: usb2: remove unneeded semicolon Jason Yan
2020-04-28 14:02 ` Michał Mirosław
2020-04-29  1:48   ` Peter Chen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox