From 0ce5ebf0a09bfdc7f93737d441cf46899ed1cc79 Mon Sep 17 00:00:00 2001 From: Paul Menzel Date: Mon, 21 Oct 2013 21:22:09 +0200 Subject: northbridge/intel/i945/raminit.c: Remove set but unused variable `reg16` Change-Id: Id4a758644a7b799e7662113c07d395e053525934 Signed-off-by: Paul Menzel Reviewed-on: http://review.coreboot.org/3984 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich --- src/northbridge/intel/i945/raminit.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src') diff --git a/src/northbridge/intel/i945/raminit.c b/src/northbridge/intel/i945/raminit.c index b50f1d80a1..512d8e9260 100644 --- a/src/northbridge/intel/i945/raminit.c +++ b/src/northbridge/intel/i945/raminit.c @@ -1952,8 +1952,6 @@ static void sdram_set_channel_mode(struct sys_info *sysinfo) static void sdram_program_pll_settings(struct sys_info *sysinfo) { - volatile u16 reg16; - MCHBAR32(PLLMON) = 0x80800000; sysinfo->fsb_frequency = fsbclk(); @@ -1970,7 +1968,7 @@ static void sdram_program_pll_settings(struct sys_info *sysinfo) MCHBAR16(CPCTL) &= ~(1 << 11); - reg16 = MCHBAR16(CPCTL); /* Read back register to activate settings */ + MCHBAR16(CPCTL); /* Read back register to activate settings */ } static void sdram_program_graphics_frequency(struct sys_info *sysinfo) -- cgit v1.2.3