summaryrefslogtreecommitdiffstats
path: root/drivers/usb
diff options
context:
space:
mode:
authorSebastian Siewior <bigeasy@linutronix.de>2008-05-05 09:31:50 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2008-05-14 10:00:28 -0700
commitfe312e77f0ed4349e908b1575be0d4308f0b2ce4 (patch)
treeeeaf6d16fbe17f7f17da161f23db3850638cd5b6 /drivers/usb
parentcdafc37a7b727b75ced65e31e47dafbd8b70f97f (diff)
downloadop-kernel-dev-fe312e77f0ed4349e908b1575be0d4308f0b2ce4.zip
op-kernel-dev-fe312e77f0ed4349e908b1575be0d4308f0b2ce4.tar.gz
usb: fix compile warning in isp1760
drivers/usb/host/isp1760-if.c:275: warning: 'ret' is used uninitialized in this function Signed-off-by: Sebastian Siewior <bigeasy@linutronix.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/host/isp1760-if.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/host/isp1760-if.c b/drivers/usb/host/isp1760-if.c
index 73fb2a3..440bf94 100644
--- a/drivers/usb/host/isp1760-if.c
+++ b/drivers/usb/host/isp1760-if.c
@@ -256,7 +256,7 @@ static struct pci_driver isp1761_pci_driver = {
static int __init isp1760_init(void)
{
- int ret;
+ int ret = -ENODEV;
init_kmem_once();
OpenPOWER on IntegriCloud