Commit 305aad0b authored by Andrew Morton's avatar Andrew Morton Committed by James Bottomley

[SCSI] ips: warning fix

drivers/scsi/ips.c: In function 'ips_insert_device':
drivers/scsi/ips.c:6957: warning: 'index' may be used uninitialized in this function
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
parent ffcde188
...@@ -6946,7 +6946,7 @@ module_exit(ips_module_exit); ...@@ -6946,7 +6946,7 @@ module_exit(ips_module_exit);
static int __devinit static int __devinit
ips_insert_device(struct pci_dev *pci_dev, const struct pci_device_id *ent) ips_insert_device(struct pci_dev *pci_dev, const struct pci_device_id *ent)
{ {
int index; int uninitialized_var(index);
int rc; int rc;
METHOD_TRACE("ips_insert_device", 1); METHOD_TRACE("ips_insert_device", 1);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment