Re: [PATCH] usb: chipidea: usb2: remove unneeded semicolon
From: Peter Chen
Date: Tue Apr 28 2020 - 21:49:35 EST
On 20-04-28 16:02:41, MichaÅÂMirosÅaw wrote:
> 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@xxxxxxxxxx>
> > ---
> > 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@xxxxxxxxxxxx>
Applied, thanks.
--
Thanks,
Peter Chen