From: Jason Yan <yanaijie@huawei.com>
To: <Peter.Chen@nxp.com>, <gregkh@linuxfoundation.org>,
<mirq-linux@rere.qmqm.pl>, <linux-usb@vger.kernel.org>,
<linux-kernel@vger.kernel.org>
Cc: Jason Yan <yanaijie@huawei.com>
Subject: [PATCH] usb: chipidea: usb2: remove unneeded semicolon
Date: Tue, 28 Apr 2020 14:33:59 +0800 [thread overview]
Message-ID: <20200428063359.16433-1-yanaijie@huawei.com> (raw)
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
next reply other threads:[~2020-04-28 6:34 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-28 6:33 Jason Yan [this message]
2020-04-28 14:02 ` [PATCH] usb: chipidea: usb2: remove unneeded semicolon Michał Mirosław
2020-04-29 1:48 ` Peter Chen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200428063359.16433-1-yanaijie@huawei.com \
--to=yanaijie@huawei.com \
--cc=Peter.Chen@nxp.com \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=mirq-linux@rere.qmqm.pl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox