commit | a9ef11170ce9b681b07df009c8ec2a2accbb4472 | [log] [tgz] |
---|---|---|
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | Thu Feb 27 16:00:51 2020 +0200 |
committer | Bin Meng <bmeng.cn@gmail.com> | Sat Apr 04 22:08:44 2020 +0800 |
tree | 55b7e23ab6f63dd2c9718a341fade9dc52b9627a | |
parent | 7ae42ce16ea2778a1c95385092a320964fbb5543 [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>