From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bin Meng Date: Wed, 25 Mar 2020 14:54:20 +0800 Subject: [PATCH v1] x86: acpi: Refactor XSDT handling in acpi_add_table() In-Reply-To: References: <20200227140051.75072-1-andriy.shevchenko@linux.intel.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wed, Mar 25, 2020 at 2:48 PM Bin Meng wrote: > > On Thu, Feb 27, 2020 at 10:00 PM Andy Shevchenko > wrote: > > > > 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 > > --- > > arch/x86/lib/acpi_table.c | 37 +++++++++++++++++++------------------ > > 1 file changed, 19 insertions(+), 18 deletions(-) > > > > This patch looks good to me and I believe we can put this in v2020.04. > > Reviewed-by: Bin Meng > applied to u-boot-x86, thanks!