[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>
This commit is contained in:
parent
ffcde188a8
commit
305aad0bf5
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
|
|
Reference in a new issue