Messages in this thread Patch in this message | | | From | Jiang Liu <> | Subject | [PATCH v3, part1 08/10] PCI, IOV: don't touch bus->is_added flag | Date | Sat, 25 May 2013 21:48:36 +0800 |
| |
The flag pci_bus->is_added is used to guard invoke of pcibios_fixup_bus(pci_bus). And when virtfn_add_bus() is called, pci_bus->is_added flag has already been set, so remove the redandunt bus->is_added = 1;
Signed-off-by: Jiang Liu <jiang.liu@huawei.com> Cc: Donald Dutile <ddutile@redhat.com> Cc: Yinghai Lu <yinghai@kernel.org> Cc: Ram Pai <linuxram@us.ibm.com> Cc: linux-pci@vger.kernel.org Cc: linux-kernel@vger.kernel.org --- drivers/pci/iov.c | 1 - 1 file changed, 1 deletion(-)
diff --git a/drivers/pci/iov.c b/drivers/pci/iov.c index 2652ca0..8f1e117 100644 --- a/drivers/pci/iov.c +++ b/drivers/pci/iov.c @@ -47,7 +47,6 @@ static struct pci_bus *virtfn_add_bus(struct pci_bus *bus, int busnr) return NULL; pci_bus_insert_busn_res(child, busnr, busnr); - bus->is_added = 1; return child; } -- 1.8.1.2
| |