• Jiang Liu's avatar
    PCI: acpiphp: Remove dead code for PCI host bridge hotplug · be6d2867
    Jiang Liu authored
    Commit 668192b6 "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: default avatarJiang Liu <jiang.liu@huawei.com>
    Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
    be6d2867
acpiphp.h 5.64 KB