[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200428140241.GA2762@qmqm.qmqm.pl>
Date: Tue, 28 Apr 2020 16:02:41 +0200
From: Michał Mirosław <mirq-linux@...e.qmqm.pl>
To: Jason Yan <yanaijie@...wei.com>
Cc: Peter.Chen@....com, gregkh@...uxfoundation.org,
linux-usb@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] usb: chipidea: usb2: remove unneeded semicolon
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@...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) {
Fixes: c2de37b31f17 ("usb: chipidea: usb2: make clock optional")
Reviewed-by: Michał Mirosław <mirq-linux@...e.qmqm.pl>
Powered by blists - more mailing lists