USB: ohci: remove check for RH already suspended in ohci_suspend
authorFlorian Fainelli <florian@openwrt.org>
Mon, 8 Oct 2012 13:11:28 +0000 (15:11 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 22 Oct 2012 18:23:59 +0000 (11:23 -0700)
commitd4ae47dc5670efecd2214110caf33dfc0ff7191f
tree644fbfdd28236f968b60a014af851a7612f335e5
parentcd1965db054eeace344487b9c8560439961f5f55
USB: ohci: remove check for RH already suspended in ohci_suspend

As suggested by Alan Stern, the code checking for the OHCI RH already
suspended is no longer required since the bug it fixes has not been seen in
ages. Remove that check making ohci_suspend much simpler.

Signed-off-by: Florian Fainelli <florian@openwrt.org>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/ohci-hcd.c