USB: OHCI: remove stale testing code from root-hub resume
authorAlan Stern <stern@rowland.harvard.edu>
Fri, 27 Oct 2006 14:35:01 +0000 (10:35 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 1 Dec 2006 22:23:27 +0000 (14:23 -0800)
commit565402baee99096da4d79209e450fe42d379a0ca
treefe2bce71cb62cf01f720ba099a7983a1c2496eea
parent5d7efe5b3768bf53df9b87380ea68baacf11f933
USB: OHCI: remove stale testing code from root-hub resume

This patch (as811) removes some stale testing code from the root-hub
resume routine in ohci-hcd.  It also adds a spin_lock_irq() call that
inadvertently got left out of an error pathway.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/host/ohci-hub.c