USB: ohci-jz4740: Fix uninitialized variable warning
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Mon, 14 Apr 2014 10:08:13 +0000 (12:08 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 16 Apr 2014 20:59:40 +0000 (13:59 -0700)
commit4d6b5161dba1aa1964e505d2a09bfe4e3a1a7378
tree60b1facf7cd7ff82d64a9906a1d6416d33cb461f
parent4f2fe2d27472f4a5dbd875888af4fc5175f3fdc5
USB: ohci-jz4740: Fix uninitialized variable warning

The ret variable is not initialized in all code paths of the
ohci_jz4740_hub_control function. Fix it.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Lars-Peter Clausen <lars@metafoo.de>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/ohci-jz4740.c