From: MUNEDA Takahiro Date: Fri, 9 Nov 2007 10:06:20 +0000 (+0900) Subject: PCI Hotplug: acpiphp: remove unneeded acpi_get_name function call X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=25d6ddcd785b0d705172118cc99a864c456ca219;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git PCI Hotplug: acpiphp: remove unneeded acpi_get_name function call acpi_get_name() is called before and after dbg(). The latter is useless and should be removed. Signed-off-by: Kristen Carlson Accardi Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/pci/hotplug/acpiphp_glue.c b/drivers/pci/hotplug/acpiphp_glue.c index c948193b978e..cf22f9e01e00 100644 --- a/drivers/pci/hotplug/acpiphp_glue.c +++ b/drivers/pci/hotplug/acpiphp_glue.c @@ -1528,7 +1528,6 @@ check_sub_bridges(acpi_handle handle, u32 lvl, void *context, void **rv) acpi_get_name(handle, ACPI_FULL_PATHNAME, &buffer); dbg("%s: re-enumerating slots under %s\n", __FUNCTION__, objname); - acpi_get_name(handle, ACPI_FULL_PATHNAME, &buffer); acpiphp_check_bridge(bridge); } return AE_OK ;