1
0
Fork 0

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>
hifive-unleashed-5.1
Bob Moore 2013-05-30 10:00:53 +08:00 committed by Rafael J. Wysocki
parent 29a241cc02
commit 43e5318f34
1 changed files with 1 additions and 4 deletions

View File

@ -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);
}