]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
usb: fix compile warning in isp1760
authorSebastian Siewior <bigeasy@linutronix.de>
Mon, 5 May 2008 07:31:50 +0000 (09:31 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 14 May 2008 17:00:28 +0000 (10:00 -0700)
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>
drivers/usb/host/isp1760-if.c

index 73fb2a38f1e40dd594549bd6d797ae6eba2a1216..440bf94f0d4ca178ffed89e67c82371d42e997eb 100644 (file)
@@ -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();