Skip to content
Commit ddcccb2b authored by Andy Shevchenko's avatar Andy Shevchenko Committed by Bin Meng
Browse files

x86: acpi: Refactor XSDT handling in acpi_add_table()



There is no need to have an assignment to NULL for XSDT pointer.
Therefore, no need to assign it when rsdt_address is not set.
Because of above changes we may decrease indentation level as well.

While here, drop unnecessary parentheses.

Signed-off-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: default avatarBin Meng <bmeng.cn@gmail.com>
parent e0718b3a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment