PCI: acpiphp: Remove dead code for PCI host bridge hotplug
authorJiang Liu <jiang.liu@huawei.com>
Wed, 30 Jan 2013 16:10:10 +0000 (00:10 +0800)
committerBjorn Helgaas <bhelgaas@google.com>
Sat, 2 Feb 2013 21:28:02 +0000 (14:28 -0700)
commitbe6d2867b4f68a575c78fa368abd3ad49980c514
tree13ce55cdbaf45d5bc23e0c514170d4a95c55a688
parent2ca344e8c798127ae01e656838b9b06ed41d1461
PCI: acpiphp: Remove dead code for PCI host bridge hotplug

Commit 668192b678201d2fff27c "PCI: acpiphp: Move host bridge hotplug
to pci_root.c" has moved PCI host bridge hotplug logic from acpiphp
to pci_root, but there is still PCI host bridge hotplug related
dead code left in acpiphp. So remove those dead code.

Now companion ACPI devices are always created before corresponding
PCI devices. And the ACPI event handle_hotplug_event_bridge() will be
installed only if it has associated PCI device. So remove dead code to
handle bridge hot-adding in function handle_hotplug_event_bridge().

Signed-off-by: Jiang Liu <jiang.liu@huawei.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/hotplug/acpiphp.h
drivers/pci/hotplug/acpiphp_glue.c