diff options
author | Bob Moore <robert.moore@intel.com> | 2012-12-31 00:05:17 (GMT) |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-01-10 11:36:19 (GMT) |
commit | 04a81dce13c672757637b759039de216ed29a536 (patch) | |
tree | 06ce2b5dceb2f1b9cea0e480bb1676810c8f889e /drivers/acpi/acpica/psutils.c | |
parent | 528a412c86e7a831d0fd157cac65749b45b64e06 (diff) | |
download | linux-04a81dce13c672757637b759039de216ed29a536.tar.xz |
ACPICA: Eliminate some small unnecessary pathname functions.
Removed several small pathname functions to increase efficiency.
Essentially, they replace a function call with a single compare.
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/acpica/psutils.c')
-rw-r--r-- | drivers/acpi/acpica/psutils.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/acpi/acpica/psutils.c b/drivers/acpi/acpica/psutils.c index afefb3a1..2bbf670 100644 --- a/drivers/acpi/acpica/psutils.c +++ b/drivers/acpi/acpica/psutils.c @@ -202,14 +202,6 @@ u8 acpi_ps_is_leading_char(u32 c) } /* - * Is "c" a namestring prefix character? - */ -u8 acpi_ps_is_prefix_char(u32 c) -{ - return ((u8)(c == '\\' || c == '^')); -} - -/* * Get op's name (4-byte name segment) or 0 if unnamed */ #ifdef ACPI_FUTURE_USAGE |