From 604559c193af7decd7a4593ec1b4aa71d86b9531 Mon Sep 17 00:00:00 2001 From: Edward O'Callaghan Date: Sun, 25 May 2014 06:34:06 +1000 Subject: [PATCH] northbridge/intel/i82810/raminit.c: Unused func spd_read_byte() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Spotted by Clang Change-Id: Ib119f46fbbbd09a660bd6c4647b96a55d2c532a7 Signed-off-by: Edward O'Callaghan Reviewed-on: http://review.coreboot.org/5846 Tested-by: build bot (Jenkins) Reviewed-by: Kyösti Mälkki --- src/northbridge/intel/i82810/raminit.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/northbridge/intel/i82810/raminit.c b/src/northbridge/intel/i82810/raminit.c index 2c379e7865..904c9602fc 100644 --- a/src/northbridge/intel/i82810/raminit.c +++ b/src/northbridge/intel/i82810/raminit.c @@ -131,11 +131,6 @@ struct dimm_info { SDRAM configuration functions. -----------------------------------------------------------------------------*/ -static inline int spd_read_byte(unsigned device, unsigned address) -{ - return smbus_read_byte(device, address); -} - /** * Send the specified RAM command to all DIMMs. *