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-Tag: v2.6.25-rc1~1074^2~35 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=25d6ddcd785b0d705172118cc99a864c456ca219;p=linux-2.6-omap-h63xx.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 c948193b978..cf22f9e01e0 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 ;