diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2020-02-27 16:00:51 +0200 |
---|---|---|
committer | Bin Meng <bmeng.cn@gmail.com> | 2020-04-04 22:08:44 +0800 |
commit | ddcccb2b2c1251ee9cd658c340d722a716d75a96 (patch) | |
tree | 55b7e23ab6f63dd2c9718a341fade9dc52b9627a /arch/x86/include/asm/arch-tangier/acpi/platform.asl | |
parent | e0718b3ab754860bd47677e6b4fc5b70da42c4ab (diff) |
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: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'arch/x86/include/asm/arch-tangier/acpi/platform.asl')
0 files changed, 0 insertions, 0 deletions