From 5e06850c0f588a58f06bbc720bd7f6dd31654940 Mon Sep 17 00:00:00 2001 From: Edward O'Callaghan Date: Thu, 8 Jan 2015 01:55:22 +1100 Subject: [PATCH] northbridge/intel/nehalem/raminit.c: Remove redundant function MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Remove 'read_mchbar8_bypass()' as 'read_mchbar8()' does the same thing and 'read_mchbar8_bypass()' is unused. Change-Id: I0dc2325e6205c38b63e5200c408ece65e4f938dc Signed-off-by: Edward O'Callaghan Reviewed-on: http://review.coreboot.org/8166 Tested-by: build bot (Jenkins) Reviewed-by: Kyösti Mälkki --- src/northbridge/intel/nehalem/raminit.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/northbridge/intel/nehalem/raminit.c b/src/northbridge/intel/nehalem/raminit.c index 9ca98d5a2c..85c82c9e9e 100644 --- a/src/northbridge/intel/nehalem/raminit.c +++ b/src/northbridge/intel/nehalem/raminit.c @@ -146,11 +146,6 @@ static inline u8 read_mchbar8(u32 addr) return MCHBAR8(addr); } -static inline u8 read_mchbar8_bypass(u32 addr) -{ - return MCHBAR8(addr); -} - static void clflush(u32 addr) { asm volatile ("clflush (%0)"::"r" (addr));