Angel Pons submitted this change.
nb/intel/x4x: Remove dead assignments
The call to `decode_pcie_bar` always initializes these values.
Change-Id: Iffdb2fc846a6fc1a1abc504370b6283e292b61c0
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/44150
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
---
M src/northbridge/intel/x4x/acpi.c
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/northbridge/intel/x4x/acpi.c b/src/northbridge/intel/x4x/acpi.c
index c700076..4088e75 100644
--- a/src/northbridge/intel/x4x/acpi.c
+++ b/src/northbridge/intel/x4x/acpi.c
@@ -9,8 +9,7 @@
unsigned long acpi_fill_mcfg(unsigned long current)
{
- u32 pciexbar = 0;
- u32 length = 0;
+ u32 pciexbar, length;
if (!decode_pcie_bar(&pciexbar, &length))
return current;
To view, visit change 44150. To unsubscribe, or for help writing mail filters, visit settings.