diff options
author | Vikram Narayanan <vikram186@gmail.com> | 2012-04-22 00:17:04 +0530 |
---|---|---|
committer | Patrick Georgi <patrick@georgi-clan.de> | 2012-04-22 08:53:38 +0200 |
commit | 1e6bf092acc311d1359cf892cc6e03d4afb28923 (patch) | |
tree | 7542a02e5f3541452cad299defe37b9962358a1e /src | |
parent | 0db2ae3ac44ceb05e96973e6101d472dbef164a0 (diff) |
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 <vikram186@gmail.com>
Reviewed-on: http://review.coreboot.org/913
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
Diffstat (limited to 'src')
-rw-r--r-- | src/cpu/amd/agesa/family12/model_12_init.c | 3 |
1 files changed, 2 insertions, 1 deletions
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); |