linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Bin Liu <b-liu@ti.com>
To: Kirill Esipov <yesipov@gmail.com>
Cc: <linux-kernel@vger.kernel.org>, <linux-usb@vger.kernel.org>,
	<gregkh@linuxfoundation.org>,
	<sergei.shtylyov@cogentembedded.com>
Subject: Re: [PATCH v3] usb: musb: remove duplicated actions
Date: Wed, 26 Oct 2016 10:37:13 -0500	[thread overview]
Message-ID: <20161026153713.GL4050@uda0271908> (raw)
In-Reply-To: <1477491867-5253-1-git-send-email-yesipov@gmail.com>

Hi,

On Wed, Oct 26, 2016 at 05:24:27PM +0300, Kirill Esipov wrote:
> Removing unnecessary duplicated actions that we've got while merging:
> 19915e623458 ("Merge 4.1-rc7 into usb-next")
> 
> Signed-off-by: Kirill Esipov <yesipov@gmail.com>
> ---
>  drivers/usb/musb/musb_core.c | 6 ------
>  1 file changed, 6 deletions(-)
> 
> diff --git a/drivers/usb/musb/musb_core.c b/drivers/usb/musb/musb_core.c
> index 27dadc0..2b04f07 100644
> --- a/drivers/usb/musb/musb_core.c
> +++ b/drivers/usb/musb/musb_core.c
> @@ -2120,12 +2120,6 @@ musb_init_controller(struct device *dev, int nIrq, void __iomem *ctrl)
>  	if (musb->ops->ep_select)
>  		musb->io.ep_select = musb->ops->ep_select;
>  
> -	/* At least tusb6010 has its own offsets */

I prefer to keep this comment and drop the first one
"/* And override them with platform specific ops if specified. */"
as it doesn't provide any value.

> -	if (musb->ops->ep_offset)
> -		musb->io.ep_offset = musb->ops->ep_offset;
> -	if (musb->ops->ep_select)
> -		musb->io.ep_select = musb->ops->ep_select;
> -
>  	if (musb->ops->fifo_mode)
>  		fifo_mode = musb->ops->fifo_mode;
>  	else
> -- 
> 2.7.4

Thanks,
-Bin.

      reply	other threads:[~2016-10-26 15:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-26 14:24 [PATCH v3] usb: musb: remove duplicated actions Kirill Esipov
2016-10-26 15:37 ` Bin Liu [this message]

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=20161026153713.GL4050@uda0271908 \
    --to=b-liu@ti.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=sergei.shtylyov@cogentembedded.com \
    --cc=yesipov@gmail.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;
as well as URLs for NNTP newsgroup(s).