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>
This commit is contained in:
parent
a551b98d5f
commit
da3ceb2288
1 changed files with 1 additions and 1 deletions
|
@ -1499,7 +1499,7 @@ static int __devinit piix_init_one(struct pci_dev *pdev,
|
||||||
* off.
|
* off.
|
||||||
*/
|
*/
|
||||||
if (pdev->vendor == PCI_VENDOR_ID_INTEL && pdev->device == 0x2652) {
|
if (pdev->vendor == PCI_VENDOR_ID_INTEL && pdev->device == 0x2652) {
|
||||||
int rc = piix_disable_ahci(pdev);
|
rc = piix_disable_ahci(pdev);
|
||||||
if (rc)
|
if (rc)
|
||||||
return rc;
|
return rc;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue