From 4c0d39fc592857a076f48fbf9552ced2ed702ffe Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Tue, 15 May 2007 10:26:16 +0000 Subject: Simplify spd_read_byte() functions (trivial). Signed-off-by: Uwe Hermann Acked-by: Uwe Hermann git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2670 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/mainboard/via/epia-m/auto.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/mainboard/via/epia-m') diff --git a/src/mainboard/via/epia-m/auto.c b/src/mainboard/via/epia-m/auto.c index e7b310ffcb..c82be2e111 100644 --- a/src/mainboard/via/epia-m/auto.c +++ b/src/mainboard/via/epia-m/auto.c @@ -39,9 +39,7 @@ static void memreset_setup(void) static inline int spd_read_byte(unsigned device, unsigned address) { - unsigned char c; - c = smbus_read_byte(device, address); - return c; + return smbus_read_byte(device, address); } #include "northbridge/via/vt8623/raminit.c" -- cgit v1.2.3