[PATCH] remove duplicated resume path code
authorDavid Brownell <david-b@pacbell.net>
Wed, 14 Sep 2005 02:57:36 +0000 (19:57 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 28 Oct 2005 23:47:39 +0000 (16:47 -0700)
commitdbc3887e7df4be78b33a83b97fde5d5f9a389859
treed0b037dbf3971bbd95d038429857ef9f78a19879
parent390a8c345e6415cbf811232feedac70b56c9fc8d
[PATCH] remove duplicated resume path code

This gets rid of some inconsistently duplicated logic to resume interfaces.
Similar code was in both finish_port_resume() and in usb_generic_resume().
Now there is just one copy of that code, accessed regardless of whether
CONFIG_USB_SUSPEND is enabled.  Fault handling is also more consistent.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/core/hub.c