usb: musb: omap2430: fix compile warning
authorFelipe Balbi <balbi@ti.com>
Thu, 24 Nov 2011 13:42:10 +0000 (15:42 +0200)
committerFelipe Balbi <balbi@ti.com>
Mon, 12 Dec 2011 11:07:03 +0000 (13:07 +0200)
fix the following compile warning:

drivers/usb/musb/omap2430.c: In function 'musb_otg_notifier_work':
drivers/usb/musb/omap2430.c:279:3: warning: 'return' with a value, in
function returning void
drivers/usb/musb/omap2430.c:282:2: warning: 'return' with a value, in
function returning void

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

index fd5dd46..c24dc26 100644 (file)
@@ -283,10 +283,7 @@ static void musb_otg_notifier_work(struct work_struct *data_notifier_work)
                break;
        default:
                dev_dbg(musb->controller, "ID float\n");
-               return NOTIFY_DONE;
        }
-
-       return NOTIFY_OK;
 }
 
 static int omap2430_musb_init(struct musb *musb)