]> Pileus Git - ~andy/linux/commit
unicore32/PCI: Remove redundant call of pci_bus_add_devices()
authorJiang Liu <liuj97@gmail.com>
Mon, 27 May 2013 22:42:26 +0000 (16:42 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 14 Jun 2013 23:38:40 +0000 (17:38 -0600)
commitc13e396ebfed48948f3204db0e7def95080cd660
tree2a69e52232a64ac200977c4dd83f8cc1cad369b0
parentd9e6ba5fed08b64f8dcabcc82d9706fd8ec1f121
unicore32/PCI: Remove redundant call of pci_bus_add_devices()

pci_scan_bus() has called pci_bus_add_devices() already, so remove the
redundant call of pci_bus_add_devices().  subsys_init() callbacks will be
invoked before device_init() callbacks, so it should be safe to remove the
redundant calls.

Signed-off-by: Jiang Liu <jiang.liu@huawei.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
arch/unicore32/kernel/pci.c