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


Groups > linux.kernel > #1509684

[PATCH v4] usb: musb: remove duplicated actions

From Kirill Esipov <yesipov@gmail.com>
Newsgroups linux.kernel
Subject [PATCH v4] usb: musb: remove duplicated actions
Date 2016-10-26 20:20 +0200
Message-ID <swAXU-7td-21@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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 | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/drivers/usb/musb/musb_core.c b/drivers/usb/musb/musb_core.c
index 27dadc0..e01116e 100644
--- a/drivers/usb/musb/musb_core.c
+++ b/drivers/usb/musb/musb_core.c
@@ -2114,11 +2114,6 @@ musb_init_controller(struct device *dev, int nIrq, void __iomem *ctrl)
 		musb->io.ep_offset = musb_flat_ep_offset;
 		musb->io.ep_select = musb_flat_ep_select;
 	}
-	/* And override them with platform specific ops if specified. */
-	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;
 
 	/* At least tusb6010 has its own offsets */
 	if (musb->ops->ep_offset)
-- 
2.7.4

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH v4] usb: musb: remove duplicated actions Kirill Esipov <yesipov@gmail.com> - 2016-10-26 20:20 +0200
  Re: [PATCH v4] usb: musb: remove duplicated actions Bin Liu <b-liu@ti.com> - 2016-11-01 20:50 +0100

csiph-web