PCI: Drop redundant setting of bus->is_added in virtfn_add_bus()
authorJiang Liu <liuj97@gmail.com>
Sat, 25 May 2013 13:48:36 +0000 (21:48 +0800)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 14 Jun 2013 23:39:20 +0000 (17:39 -0600)
commitd35329d9f17f05277f2718eb54402dea3e833d19
treed29ba6dec8a39b3013b472fa19efcb238a87052b
parentc13e396ebfed48948f3204db0e7def95080cd660
PCI: Drop redundant setting of bus->is_added in virtfn_add_bus()

The flag pci_bus->is_added is used to guard invocation of
pcibios_fixup_bus(pci_bus).  When virtfn_add_bus() is called, the
pci_bus->is_added flag has already been set, so remove the redundant

bus->is_added = 1;

Signed-off-by: Jiang Liu <jiang.liu@huawei.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Cc: Donald Dutile <ddutile@redhat.com>
Cc: Yinghai Lu <yinghai@kernel.org>
Cc: Ram Pai <linuxram@us.ibm.com>
drivers/pci/iov.c