From 4dc3082dc1dd1415177d71f15d4b19bebb1365c0 Mon Sep 17 00:00:00 2001 From: "Rafael J. Wysocki" Date: Tue, 4 Feb 2014 00:38:52 +0100 Subject: [PATCH] ACPI / hotplug / PCI: Drop acpiphp_bus_trim() If trim_stale_devices() calls acpi_bus_trim() directly, we can save a potentially costly acpi_bus_get_device() invocation. After making that change acpiphp_bus_trim() would only be called from one place, so move the code from it to that place and drop it. Signed-off-by: Rafael J. Wysocki Tested-by: Mika Westerberg --- Reading git-format-patch failed