HAOUAS Elyes has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/33054
Change subject: nb/amd/amdfam10/northbridge.c: Remove variable set but not used ......................................................................
nb/amd/amdfam10/northbridge.c: Remove variable set but not used
Change-Id: I3ae05338669a6d71e322d5fc0ee4ca2028048ac4 Signed-off-by: Elyes HAOUAS ehaouas@noos.fr --- M src/northbridge/amd/amdfam10/northbridge.c 1 file changed, 1 insertion(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/54/33054/1
diff --git a/src/northbridge/amd/amdfam10/northbridge.c b/src/northbridge/amd/amdfam10/northbridge.c index db40267..2316c61 100644 --- a/src/northbridge/amd/amdfam10/northbridge.c +++ b/src/northbridge/amd/amdfam10/northbridge.c @@ -1690,10 +1690,9 @@
uint8_t fam15h = 0; uint8_t rev_gte_d = 0; - uint32_t family; uint32_t model;
- family = model = cpuid_eax(0x80000001); + model = cpuid_eax(0x80000001); model = ((model & 0xf0000) >> 12) | ((model & 0xf0) >> 4);
if (is_fam15h()) {