USB: Remove test for NULL that'll never happen in usb_disconnect()
commit316541bf70281b6c3b501b442b6994c1839776ad
authorJesper Juhl <jj@chaosbits.net>
Mon, 11 Jul 2011 20:59:36 +0000 (11 22:59 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 22 Aug 2011 22:21:15 +0000 (22 15:21 -0700)
tree1c76853cbbad8ffb75710d668bf818e3022c43ae
parentfcb8ce5cfe30ca9ca5c9a79cdfe26d1993e65e0c
USB: Remove test for NULL that'll never happen in usb_disconnect()

In drivers/usb/core/hub.c::usb_disconnect(), 'udev' will never be
NULL, so remove the test and printing of debug message.

Signed-off-by: Jesper Juhl <jj@chaosbits.net>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/core/hub.c