diff options
author | Angel Pons <th3fanbus@gmail.com> | 2020-08-03 19:11:07 +0200 |
---|---|---|
committer | Angel Pons <th3fanbus@gmail.com> | 2020-08-04 21:41:23 +0000 |
commit | 579ccdf9c9ed7deeef58356257d1a9b93727a90d (patch) | |
tree | 727689ebf380c9caa9d2b52c9f5cf02e4721dd5a /src/northbridge | |
parent | 9e757a0ab0f9dd7bec29133419fa68c9201f9a4e (diff) |
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>
Diffstat (limited to 'src/northbridge')
-rw-r--r-- | src/northbridge/intel/x4x/acpi.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/northbridge/intel/x4x/acpi.c b/src/northbridge/intel/x4x/acpi.c index c70007621b..4088e75dae 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; |