diff options
author | Stephen Hemminger <shemminger@vyatta.com> | 2008-09-08 09:31:39 -0700 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2008-09-13 16:43:18 -0400 |
commit | da3ceb2288d0b50373b69d57a81c34fdd7cd11aa (patch) | |
tree | 200239cbee46877068e2f30fa21098d1afa342f8 | |
parent | a551b98d5f6fce5897d497abd8bfb262efb33d2a (diff) | |
download | op-kernel-dev-da3ceb2288d0b50373b69d57a81c34fdd7cd11aa.zip op-kernel-dev-da3ceb2288d0b50373b69d57a81c34fdd7cd11aa.tar.gz |
ata: duplicate variable sparse warning
drivers/ata/ata_piix.c:1502:7: warning: symbol 'rc' shadows an earlier one
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
-rw-r--r-- | drivers/ata/ata_piix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/ata_piix.c b/drivers/ata/ata_piix.c index b1d08a8..e6b4606 100644 --- a/drivers/ata/ata_piix.c +++ b/drivers/ata/ata_piix.c @@ -1499,7 +1499,7 @@ static int __devinit piix_init_one(struct pci_dev *pdev, * off. */ if (pdev->vendor == PCI_VENDOR_ID_INTEL && pdev->device == 0x2652) { - int rc = piix_disable_ahci(pdev); + rc = piix_disable_ahci(pdev); if (rc) return rc; } |