diff options
author | Andrew Morton <akpm@linux-foundation.org> | 2007-08-10 17:50:52 -0400 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.localdomain> | 2007-10-12 14:40:14 -0400 |
commit | 305aad0bf5b3f890bf6f59f8045bd553fd1051df (patch) | |
tree | 571ede52960f6973a087d8a181aee017e9a74be4 /drivers | |
parent | ffcde188a82497385139c62c6b6362aa4f29406f (diff) |
[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: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/scsi/ips.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/ips.c b/drivers/scsi/ips.c index 492a51bd6aa8..b17771b1c605 100644 --- a/drivers/scsi/ips.c +++ b/drivers/scsi/ips.c | |||
@@ -6946,7 +6946,7 @@ module_exit(ips_module_exit); | |||
6946 | static int __devinit | 6946 | static int __devinit |
6947 | ips_insert_device(struct pci_dev *pci_dev, const struct pci_device_id *ent) | 6947 | ips_insert_device(struct pci_dev *pci_dev, const struct pci_device_id *ent) |
6948 | { | 6948 | { |
6949 | int index; | 6949 | int uninitialized_var(index); |
6950 | int rc; | 6950 | int rc; |
6951 | 6951 | ||
6952 | METHOD_TRACE("ips_insert_device", 1); | 6952 | METHOD_TRACE("ips_insert_device", 1); |