From: Michał Mirosław <mirq-linux@rere.qmqm.pl>
To: Jason Yan <yanaijie@huawei.com>
Cc: Peter.Chen@nxp.com, gregkh@linuxfoundation.org,
linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] usb: chipidea: usb2: remove unneeded semicolon
Date: Tue, 28 Apr 2020 16:02:41 +0200 [thread overview]
Message-ID: <20200428140241.GA2762@qmqm.qmqm.pl> (raw)
In-Reply-To: <20200428063359.16433-1-yanaijie@huawei.com>
On Tue, Apr 28, 2020 at 02:33:59PM +0800, Jason Yan wrote:
> 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) {
Fixes: c2de37b31f17 ("usb: chipidea: usb2: make clock optional")
Reviewed-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>
next prev parent reply other threads:[~2020-04-28 14:02 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-28 6:33 [PATCH] usb: chipidea: usb2: remove unneeded semicolon Jason Yan
2020-04-28 14:02 ` Michał Mirosław [this message]
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=20200428140241.GA2762@qmqm.qmqm.pl \
--to=mirq-linux@rere.qmqm.pl \
--cc=Peter.Chen@nxp.com \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=yanaijie@huawei.com \
/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