summaryrefslogtreecommitdiff
path: root/src/mainboard/densitron/dpx114/auto.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/densitron/dpx114/auto.c')
-rw-r--r--src/mainboard/densitron/dpx114/auto.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mainboard/densitron/dpx114/auto.c b/src/mainboard/densitron/dpx114/auto.c
index a1b3818b93..992dfbcf22 100644
--- a/src/mainboard/densitron/dpx114/auto.c
+++ b/src/mainboard/densitron/dpx114/auto.c
@@ -35,9 +35,7 @@ void udelay(int usecs)
#include "southbridge/via/vt8231/vt8231_early_serial.c"
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"