amd/amdfam10: Remove dead code

dual_node is never used in that function. And it is never set
correctly either, because the register f3xe8 is never actually
read either. Just remove the whole useless construct.

Change-Id: If316da89bceae6b162f20e4b632276db2d9ef423
Signed-off-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Reviewed-on: https://review.coreboot.org/20385
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
This commit is contained in:
Stefan Reinauer 2017-06-27 00:36:15 +02:00
parent e06e2fdce1
commit 67ed261200
1 changed files with 0 additions and 7 deletions

View File

@ -1693,9 +1693,7 @@ static void detect_and_enable_probe_filter(device_t dev)
uint8_t fam15h = 0;
uint8_t rev_gte_d = 0;
uint8_t dual_node = 0;
unsigned nb_cfg_54;
uint32_t f3xe8;
uint32_t family;
uint32_t model;
@ -1712,11 +1710,6 @@ static void detect_and_enable_probe_filter(device_t dev)
/* Revision D or later */
rev_gte_d = 1;
if (rev_gte_d)
/* Check for dual node capability */
if (f3xe8 & 0x20000000)
dual_node = 1;
if (rev_gte_d && (sysconf.nodes > 1)) {
/* Enable the probe filter */
uint8_t i;