2016-10-26 12:01:53

by Kirill Esipov

[permalink] [raw]
Subject: [PATCH v2] usb: musb: remove duplicated actions

Removing unnecessary duplicated actions that we've got while merging:
"Merge 4.1-rc7 into usb-next" 19915e623458

Signed-off-by: Kirill Esipov <[email protected]>
---
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


2016-10-26 13:21:49

by Sergei Shtylyov

[permalink] [raw]
Subject: Re: [PATCH v2] usb: musb: remove duplicated actions

On 10/26/2016 03:01 PM, Kirill Esipov wrote:

> Removing unnecessary duplicated actions that we've got while merging:
> "Merge 4.1-rc7 into usb-next" 19915e623458

See Documentation/SubmittingPatches, it should be: 19915e623458 ("Merge
4.1-rc7 into usb-next"). Perhaps the MUSB maintainer can fix this..

> Signed-off-by: Kirill Esipov <[email protected]>
[...]

MBR, Sergei