USB: remove dead code from suspend/resume path
authorOliver Neukum <oliver@neukum.org>
Mon, 2 Jan 2012 14:11:48 +0000 (15:11 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 4 Jan 2012 00:49:28 +0000 (16:49 -0800)
commite78832cdca2ddd23c15abaed642cad1a39b3e122
tree44619880735fb8bbd04032192043bddeef7d295b
parent35284b3d2f68a8a3703745e629999469f78386b5
USB: remove dead code from suspend/resume path

If a driver does not support the suspend/resume callbacks
it will be forcibly disconnected. There is no reason to check
for support of the callbacks after that.

Signed-off-by: Oliver Neukum <oneukum@suse.de>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/core/driver.c