summaryrefslogtreecommitdiff
path: root/drivers/usb/host/isp1760-if.c
diff options
context:
space:
mode:
authorSebastian Siewior <bigeasy@linutronix.de>2008-05-05 11:31:50 +0400
committerGreg Kroah-Hartman <gregkh@suse.de>2008-05-14 21:00:28 +0400
commitfe312e77f0ed4349e908b1575be0d4308f0b2ce4 (patch)
treeeeaf6d16fbe17f7f17da161f23db3850638cd5b6 /drivers/usb/host/isp1760-if.c
parentcdafc37a7b727b75ced65e31e47dafbd8b70f97f (diff)
downloadlinux-fe312e77f0ed4349e908b1575be0d4308f0b2ce4.tar.xz
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/host/isp1760-if.c')
-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 73fb2a38f1e4..440bf94f0d4c 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();