ACPICA: Remove unused 'acpi_ps_get_name'
Subsystems (2)
PATCH 1/1 ACPICA: Remove unused 'acpi_ps_get_name'
From: "Dr. David Alan Gilbert" <[email protected]>
acpi_ps_get_name is currently unused, remove it.
I can't find any history of it's use since git, but I can see it was used in 2.5.0, and see a record of a removal of uses at Fri Aug 30 00:38:52 2002.
Signed-off-by Dr. David Alan Gilbert <[email protected]>
--- drivers/acpi/acpica/acparser.h | 2 -- drivers/acpi/acpica/psutils.c | 17 ----------------- 2 files changed, 19 deletions(-)
drivers/acpi/acpica/acparser.h +0 -2
@@ -207,8 +207,6 @@ void acpi_ps_free_op(union acpi_parse_object *op);u8 acpi_ps_is_leading_char (u32 c); -u32 acpi_ps_get_name (union acpi_parse_object *op); -void acpi_ps_set_name (union acpi_parse_object *op,u32 name);/*
drivers/acpi/acpica/psutils.c +0 -17
@@ -181,23 +181,6 @@ u8 acpi_ps_is_leading_char(u32 c)return ((u8) (c =='_' || (c >='A' && c <='Z' ))); } -/* -* Get op's name (4-byte name segment) or 0 if unnamed -*/ -u32 acpi_ps_get_name (union acpi_parse_object * op) -{ - -/* The "generic" object has no name associated with it */ - -if (op->common.flags &ACPI_PARSEOP_GENERIC ) { -return (0 ); - } - -/* Only the "Extended" parse objects have a name */ - -return (op->named.name); -} -/* * Set op's name */
Signature · 1 line
2.46.2