northbridge/amd/amdk8/raminit_f_dqs.c: Remove unused variable `reg` in `setup_mtrr_dqs()`

Change-Id: I7fc7819c329c058472031e82237be5c170b277f4
Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-on: http://review.coreboot.org/3965
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Tested-by: build bot (Jenkins)
Reviewed-by: Jonathan A. Kollasch <jakllsch@kollasch.net>
This commit is contained in:
Paul Menzel 2013-10-12 21:29:26 +02:00 committed by Jonathan A. Kollasch
parent 772d026076
commit 7a00ca75d7
1 changed files with 1 additions and 2 deletions

View File

@ -1735,7 +1735,6 @@ static void set_top_mem_ap(unsigned tom_k, unsigned tom2_k)
static void setup_mtrr_dqs(unsigned tom_k, unsigned tom2_k) static void setup_mtrr_dqs(unsigned tom_k, unsigned tom2_k)
{ {
unsigned reg;
msr_t msr; msr_t msr;
#if 0 #if 0
@ -1752,7 +1751,7 @@ static void setup_mtrr_dqs(unsigned tom_k, unsigned tom2_k)
wrmsr(0x258, msr); wrmsr(0x258, msr);
//[1M, TOM) //[1M, TOM)
reg = range_to_mtrr(2, 0, tom_k,4*1024*1024, MTRR_TYPE_WRBACK, 40); range_to_mtrr(2, 0, tom_k,4*1024*1024, MTRR_TYPE_WRBACK, 40);
//[4G, TOM2) //[4G, TOM2)
if(tom2_k) { if(tom2_k) {