Skip to content

Commit

Permalink
[SCSI] ips: warning fix
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Andrew Morton authored and James Bottomley committed Oct 12, 2007
1 parent ffcde18 commit 305aad0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/scsi/ips.c
Original file line number Diff line number Diff line change
Expand Up @@ -6946,7 +6946,7 @@ module_exit(ips_module_exit);
static int __devinit
ips_insert_device(struct pci_dev *pci_dev, const struct pci_device_id *ent)
{
int index;
int uninitialized_var(index);
int rc;

METHOD_TRACE("ips_insert_device", 1);
Expand Down

0 comments on commit 305aad0

Please sign in to comment.