]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/usb/host/ohci-mem.c
USB: Properly unregister reboot notifier in case of failure in ehci hcd
[linux-2.6-omap-h63xx.git] / drivers / usb / host / ohci-mem.c
index 9fb83dfb1eb44114fbdb12df95c3a83f2e606dad..d976614eebd3b33055bf8b2dd7f327187c55f43b 100644 (file)
@@ -28,8 +28,6 @@ static void ohci_hcd_init (struct ohci_hcd *ohci)
        ohci->next_statechange = jiffies;
        spin_lock_init (&ohci->lock);
        INIT_LIST_HEAD (&ohci->pending);
-       INIT_WORK (&ohci->rh_resume, ohci_rh_resume, ohci_to_hcd(ohci));
-       ohci->reboot_notifier.notifier_call = ohci_reboot;
 }
 
 /*-------------------------------------------------------------------------*/