From 1e6bf092acc311d1359cf892cc6e03d4afb28923 Mon Sep 17 00:00:00 2001 From: Vikram Narayanan Date: Sun, 22 Apr 2012 00:17:04 +0530 Subject: amd: Fix unused variable warning Comment out the id variable which is used in a commented code block. Change-Id: Ib002d57e5314971f0589d04b7e451ab7d7079f53 Signed-off-by: Vikram Narayanan Reviewed-on: http://review.coreboot.org/913 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi --- src/cpu/amd/agesa/family12/model_12_init.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/cpu/amd/agesa/family12/model_12_init.c b/src/cpu/amd/agesa/family12/model_12_init.c index d74b33308b..3a12db38bd 100644 --- a/src/cpu/amd/agesa/family12/model_12_init.c +++ b/src/cpu/amd/agesa/family12/model_12_init.c @@ -62,11 +62,12 @@ static void model_12_init(device_t dev) u8 i; msr_t msr; - struct node_core_id id; + #if CONFIG_LOGICAL_CPUS == 1 u32 siblings; #endif +// struct node_core_id id; // id = get_node_core_id(read_nb_cfg_54()); /* nb_cfg_54 can not be set */ // printk(BIOS_DEBUG, "nodeid = %02d, coreid = %02d\n", id.nodeid, id.coreid); -- cgit v1.2.3