]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
PCI Hotplug: acpiphp: remove unneeded acpi_get_name function call
authorMUNEDA Takahiro <muneda.takahiro@jp.fujitsu.com>
Fri, 9 Nov 2007 10:06:20 +0000 (19:06 +0900)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 1 Feb 2008 23:04:24 +0000 (15:04 -0800)
acpi_get_name() is called before and after dbg(). The latter is
useless and should be removed.

Signed-off-by: Kristen Carlson Accardi <kristen.c.accardi@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/pci/hotplug/acpiphp_glue.c

index c948193b978e38fca952a3b46fe5ac79891ca52d..cf22f9e01e005721257bd61c7a2894008f65b497 100644 (file)
@@ -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 ;