diff options
-rw-r--r-- | drivers/acpi/acpica/nspredef.c | 5 |
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, | |||
104 | { | 104 | { |
105 | acpi_status status; | 105 | acpi_status status; |
106 | const union acpi_predefined_info *predefined; | 106 | const union acpi_predefined_info *predefined; |
107 | char *pathname; | ||
108 | |||
109 | predefined = info->predefined; | ||
110 | pathname = info->full_pathname; | ||
111 | 107 | ||
112 | /* If not a predefined name, we cannot validate the return object */ | 108 | /* If not a predefined name, we cannot validate the return object */ |
113 | 109 | ||
110 | predefined = info->predefined; | ||
114 | if (!predefined) { | 111 | if (!predefined) { |
115 | return (AE_OK); | 112 | return (AE_OK); |
116 | } | 113 | } |