undipci_probe() has to calculate busdevfn anyway, so we may as well pass

it directly to undi_load_pci().
This commit is contained in:
Michael Brown
2007-01-09 02:58:07 +00:00
parent ed44e3730d
commit 6b09dd8244
3 changed files with 21 additions and 22 deletions

View File

@@ -91,8 +91,7 @@ static int undipci_probe ( struct pci_device *pci,
}
/* Call UNDI ROM loader to create pixie */
if ( ( rc = undi_load_pci ( undi, undirom, pci->bus,
pci->devfn ) ) != 0 )
if ( ( rc = undi_load_pci ( undi, undirom, busdevfn ) ) != 0 )
goto err_load_pci;
}