[PATCH v2 25/30] usb: musb: omap2430: drop the nops

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



we don't need those nops, so drop them.

Signed-off-by: Felipe Balbi <balbi@xxxxxx>
---
 drivers/usb/musb/omap2430.c |   11 -----------
 1 files changed, 0 insertions(+), 11 deletions(-)

diff --git a/drivers/usb/musb/omap2430.c b/drivers/usb/musb/omap2430.c
index 854cf0b..40d83ad 100644
--- a/drivers/usb/musb/omap2430.c
+++ b/drivers/usb/musb/omap2430.c
@@ -138,14 +138,6 @@ static void omap2430_musb_try_idle(struct musb *musb, unsigned long timeout)
 	mod_timer(&musb_idle_timer, timeout);
 }
 
-static void omap2430_musb_enable(struct musb *musb)
-{
-}
-
-static void omap2430_musb_disable(struct musb *musb)
-{
-}
-
 static void omap2430_musb_set_vbus(struct musb *musb, int is_on)
 {
 	u8		devctl;
@@ -323,9 +315,6 @@ static const struct musb_platform_ops omap2430_ops = {
 	.suspend	= omap2430_musb_suspend,
 	.resume		= omap2430_musb_resume,
 
-	.enable		= omap2430_musb_enable,
-	.disable	= omap2430_musb_disable,
-
 	.set_mode	= omap2430_musb_set_mode,
 	.try_idle	= omap2430_musb_try_idle,
 
-- 
1.7.3.2.343.g7d43d

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux