From: Sebastian Siewior Date: Mon, 5 May 2008 07:31:50 +0000 (+0200) Subject: usb: fix compile warning in isp1760 X-Git-Tag: v2.6.26-rc3~64^2~10 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=fe312e77f0ed4349e908b1575be0d4308f0b2ce4;p=linux-2.6-omap-h63xx.git 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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/host/isp1760-if.c b/drivers/usb/host/isp1760-if.c index 73fb2a38f1e..440bf94f0d4 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();