usb: core: fix below build warning
authorPeter Chen <peter.chen@freescale.com>
Tue, 19 Aug 2014 00:56:21 +0000 (08:56 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 19 Aug 2014 16:28:53 +0000 (11:28 -0500)
commit5b1dc209d68c5fd223b7bd865a5cabad043dbc07
tree51f04f08b1e304adab1453b9277702657a38ef9f
parent194f74ebc68f0655d40e9cb4e8a70ef8e8d4d261
usb: core: fix below build warning

linux-2.6/drivers/usb/core/hub.c: In function 'usb_disconnect':
linux-2.6/drivers/usb/core/hub.c:2110: warning: 'hub' may be used uninitialized in this function
linux-2.6/drivers/usb/core/hub.c:2111: warning: 'port1' may be used uninitialized in this function

Signed-off-by: Peter Chen <peter.chen@freescale.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/core/hub.c