From fa99982b71fd73e0654a499c92965a4bfc8805dd Mon Sep 17 00:00:00 2001 From: Elyes HAOUAS Date: Thu, 27 Jan 2022 14:27:05 +0100 Subject: soc/intel/xeon_sp/nb_acpi.c: Drop comparison to true Change-Id: Ib9670ee22e36dd988a75b2f8dc565534927b6107 Signed-off-by: Elyes HAOUAS Reviewed-on: https://review.coreboot.org/c/coreboot/+/61422 Tested-by: build bot (Jenkins) Reviewed-by: Jonathan Zhang --- src/soc/intel/xeon_sp/nb_acpi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/soc/intel/xeon_sp/nb_acpi.c b/src/soc/intel/xeon_sp/nb_acpi.c index 9443966237..bb98f0b5fb 100644 --- a/src/soc/intel/xeon_sp/nb_acpi.c +++ b/src/soc/intel/xeon_sp/nb_acpi.c @@ -167,7 +167,7 @@ static unsigned long acpi_create_dmar_ds_pci_br_for_port(unsigned long current, unsigned long atsr_size = 0; unsigned long pci_br_size = 0; - if (is_atsr == true && first && *first == true) { + if (is_atsr && first && *first) { printk(BIOS_DEBUG, "[Root Port ATS Capability] Flags: 0x%x, " "PCI Segment Number: 0x%x\n", 0, pcie_seg); atsr_size = acpi_create_dmar_atsr(current, 0, pcie_seg); -- cgit v1.2.3