static int pci_uclass_child_post_bind(struct udevice *dev)
{
struct pci_child_platdata *pplat;
- int ret;
if (!dev_of_valid(dev))
return 0;
/* Extract the devfn from fdt_pci_addr */
pplat->devfn = pci_get_devfn(dev);
- if (ret < 0)
- return ret;
return 0;
}