提交 43e5318f 编写于 作者: B Bob Moore 提交者: Rafael J. Wysocki

ACPICA: Predefined name support: Remove unused local variable

"Pathname" is no longer used.
Signed-off-by: NBob Moore <robert.moore@intel.com>
Signed-off-by: NLv Zheng <lv.zheng@intel.com>
Acked-by: NLen Brown <len.brown@intel.com>
Signed-off-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com>
上级 29a241cc
......@@ -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);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册