usb: musb: omap2430: drop the nops
authorFelipe Balbi <balbi@ti.com>
Thu, 2 Dec 2010 10:35:59 +0000 (12:35 +0200)
committerFelipe Balbi <balbi@ti.com>
Fri, 10 Dec 2010 08:21:28 +0000 (10:21 +0200)
we don't need those nops, so drop them.

Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/musb/omap2430.c

index 2659667..ef0f7fe 100644 (file)
@@ -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;
@@ -325,9 +317,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,