diff options
author | MUNEDA Takahiro <muneda.takahiro@jp.fujitsu.com> | 2007-11-09 19:06:20 +0900 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-02-01 15:04:24 -0800 |
commit | 25d6ddcd785b0d705172118cc99a864c456ca219 (patch) | |
tree | 47984402dc6ede5e5b7c5f12c93e416a5da6da5b /drivers/pci | |
parent | 5a340ed87987c8c61dd9d1a8a5384dab1ace2566 (diff) | |
download | linux-25d6ddcd785b0d705172118cc99a864c456ca219.tar.gz linux-25d6ddcd785b0d705172118cc99a864c456ca219.tar.bz2 linux-25d6ddcd785b0d705172118cc99a864c456ca219.zip |
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 <kristen.c.accardi@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/pci')
-rw-r--r-- | drivers/pci/hotplug/acpiphp_glue.c | 1 |
1 files changed, 0 insertions, 1 deletions
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 ; |