Revision 07b7d053 hw/pci.c

b/hw/pci.c
267 267
        }
268 268
        return NULL;
269 269
    found: ;
270
    } else if (bus->devices[devfn]) {
271
        return NULL;
270 272
    }
271 273
    pci_dev->bus = bus;
272 274
    pci_dev->devfn = devfn;

Also available in: Unified diff