summaryrefslogtreecommitdiff
path: root/src/mainboard/via/epia/auto.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/via/epia/auto.c')
-rw-r--r--src/mainboard/via/epia/auto.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mainboard/via/epia/auto.c b/src/mainboard/via/epia/auto.c
index dcaa6aace9..aec0dbff14 100644
--- a/src/mainboard/via/epia/auto.c
+++ b/src/mainboard/via/epia/auto.c
@@ -31,9 +31,7 @@ void udelay(int usecs)
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/vt8601/raminit.c"