@@ -1776,7 +1776,7 @@ static void acpi_scan_init_hotplug(acpi_handle handle, int type)
*/
list_for_each_entry(hwid, &pnp.ids, list) {
handler = acpi_scan_match_handler(hwid->id, NULL);
- if (handler && !handler->hotplug.ignore) {
+ if (handler) {
acpi_install_notify_handler(handle, ACPI_SYSTEM_NOTIFY,
acpi_hotplug_notify_cb, handler);
break;
@@ -100,7 +100,6 @@ enum acpi_hotplug_mode {
struct acpi_hotplug_profile {
struct kobject kobj;
bool enabled:1;
- bool ignore:1;
enum acpi_hotplug_mode mode;
};
Field 'ignore' in acpi_hotplug_profile is introduced by "ca499fc87ed945 ACPI / hotplug: Fix conflicted PCI bridge notify handlers" to support PCI host bridge hotplug. Now it's useless, so kill it. Signed-off-by: Jiang Liu <jiang.liu@linux.intel.com> --- drivers/acpi/scan.c | 2 +- include/acpi/acpi_bus.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-)