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>
This commit is contained in:
Родитель
29a241cc02
Коммит
43e5318f34
|
@ -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);
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче