summaryrefslogtreecommitdiff
path: root/drivers/acpi/acpica
diff options
context:
space:
mode:
authorBob Moore <robert.moore@intel.com>2013-05-30 06:00:53 +0400
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-06-01 23:54:30 +0400
commit43e5318f34f2cafd8734ac20d0e7bb0dd5c2538e (patch)
treea96fbc4d37e9db96ba323504f0af370a1ca10e20 /drivers/acpi/acpica
parent29a241cc02110b8b2259fd72719b8cadc03909be (diff)
downloadlinux-43e5318f34f2cafd8734ac20d0e7bb0dd5c2538e.tar.xz
ACPICA: Predefined name support: Remove unused local variable
"Pathname" is no longer used. Signed-off-by: Bob Moore <robert.moore@intel.com> Signed-off-by: Lv Zheng <lv.zheng@intel.com> Acked-by: Len Brown <len.brown@intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/acpica')
-rw-r--r--drivers/acpi/acpica/nspredef.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/acpi/acpica/nspredef.c b/drivers/acpi/acpica/nspredef.c
index 7ab7ddbe3ded..5c83a8b1c157 100644
--- a/drivers/acpi/acpica/nspredef.c
+++ b/drivers/acpi/acpica/nspredef.c
@@ -104,13 +104,10 @@ acpi_ns_check_return_value(struct acpi_namespace_node *node,
{
acpi_status status;
const union acpi_predefined_info *predefined;
- char *pathname;
-
- predefined = info->predefined;
- pathname = info->full_pathname;
/* If not a predefined name, we cannot validate the return object */
+ predefined = info->predefined;
if (!predefined) {
return (AE_OK);
}