diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2019-05-20 12:35:48 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2019-05-23 08:53:35 +0000 |
commit | dedf66ecdf79edece1039fe8bd019a0a544cfccb (patch) | |
tree | e1d74a41ffa75af57b8ca10a0b20d2c3055bd632 | |
parent | e0b9aea7be96f1d724a6c794dd617122125f1ba6 (diff) |
cpu/amd/quadcore: Remove variable set but not used
Change-Id: I73f35ea80976ab445c797c4800b1e2fd24d34fdf
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/32893
Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r-- | src/cpu/amd/quadcore/quadcore.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cpu/amd/quadcore/quadcore.c b/src/cpu/amd/quadcore/quadcore.c index ad4a7ead6d..125876badf 100644 --- a/src/cpu/amd/quadcore/quadcore.c +++ b/src/cpu/amd/quadcore/quadcore.c @@ -95,13 +95,13 @@ void real_start_other_core(uint32_t nodeid, uint32_t cores) */ /* Wait for the first core of each compute unit to start... */ - uint32_t timeout; for (i = 1; i < cores + 1; i++) { if (!(i & 0x1)) { uint32_t ap_apicid = get_boot_apic_id(nodeid, i); - timeout = wait_cpu_state(ap_apicid, - F10_APSTATE_ASLEEP, F10_APSTATE_ASLEEP); + /* Timeout */ + wait_cpu_state(ap_apicid, F10_APSTATE_ASLEEP, + F10_APSTATE_ASLEEP); } } |