diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2007-05-15 10:26:16 +0000 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2007-05-15 10:26:16 +0000 |
commit | 4c0d39fc592857a076f48fbf9552ced2ed702ffe (patch) | |
tree | afe864bb99037f0654913b4c5b1b64ccb6b471f8 /src/mainboard/via/epia-m | |
parent | f1ff2c38d2fcee9fba0d6b28cd701db7e93b3c62 (diff) | |
download | coreboot-4c0d39fc592857a076f48fbf9552ced2ed702ffe.tar.xz |
Simplify spd_read_byte() functions (trivial).
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2670 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/mainboard/via/epia-m')
-rw-r--r-- | src/mainboard/via/epia-m/auto.c | 4 |
1 files changed, 1 insertions, 3 deletions
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" |