Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1509086 > unrolled thread

[PATCH] usb: musb: remove duplicated actions

Started byKirill Esipov <yesipov@gmail.com>
First post2016-10-26 13:20 +0200
Last post2016-10-26 13:20 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] usb: musb: remove duplicated actions Kirill Esipov <yesipov@gmail.com> - 2016-10-26 13:20 +0200
    Re: [PATCH] usb: musb: remove duplicated actions Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> - 2016-10-26 13:20 +0200

#1509086 — [PATCH] usb: musb: remove duplicated actions

FromKirill Esipov <yesipov@gmail.com>
Date2016-10-26 13:20 +0200
Subject[PATCH] usb: musb: remove duplicated actions
Message-ID<swups-2Sj-43@gated-at.bofh.it>
Remove unnecessary duplicate actions (that we've got here:
19915e623458004547c1c2490b09bb923fe69337)

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 */
-	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

[toc] | [next] | [standalone]


#1509088

FromSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Date2016-10-26 13:20 +0200
Message-ID<swups-2Sj-59@gated-at.bofh.it>
In reply to#1509086
Hello.

On 10/26/2016 2:12 PM, Kirill Esipov wrote:

> Remove unnecessary duplicate actions (that we've got here:
> 19915e623458004547c1c2490b09bb923fe69337)

    You should also specify the commit's summary line in (""). And it's enough 
to specify 12 digits of SHA1 ID.

> Signed-off-by: Kirill Esipov <yesipov@gmail.com>
[...]

MBR, Sergei

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web