summaryrefslogtreecommitdiff
path: root/drivers/acpi/acpica/nspredef.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/acpi/acpica/nspredef.c')
-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);
}