diff options
author | Angel Pons <th3fanbus@gmail.com> | 2020-08-03 14:02:21 +0200 |
---|---|---|
committer | Angel Pons <th3fanbus@gmail.com> | 2020-08-04 12:23:15 +0000 |
commit | aaf5b09a5adb5ee21b504bcf07145fd977000d86 (patch) | |
tree | 9bbd0547edb601c3161c5bb20db06d61cc3ad260 /src/northbridge/intel | |
parent | c0c951630aa4cf3f0e01a551ffa64f57d0d7cd7f (diff) |
nb/intel/pineview: Remove dead assignments
The call to `decode_pciebar` always initializes these values.
Change-Id: Ide45e1e5e8b8d6cfebd2fc4e272b1971b0a9b346
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/44119
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Diffstat (limited to 'src/northbridge/intel')
-rw-r--r-- | src/northbridge/intel/pineview/acpi.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/northbridge/intel/pineview/acpi.c b/src/northbridge/intel/pineview/acpi.c index 575814c2d5..5becf8dc9a 100644 --- a/src/northbridge/intel/pineview/acpi.c +++ b/src/northbridge/intel/pineview/acpi.c @@ -8,8 +8,7 @@ unsigned long acpi_fill_mcfg(unsigned long current) { - u32 length = 0; - u32 pciexbar = 0; + u32 length, pciexbar; int max_buses; if (!decode_pciebar(&pciexbar, &length)) |