diff options
Diffstat (limited to 'src/southbridge/via/vt8235')
-rw-r--r-- | src/southbridge/via/vt8235/vt8235_early_serial.c | 3 | ||||
-rw-r--r-- | src/southbridge/via/vt8235/vt8235_early_smbus.c | 2 |
2 files changed, 0 insertions, 5 deletions
diff --git a/src/southbridge/via/vt8235/vt8235_early_serial.c b/src/southbridge/via/vt8235/vt8235_early_serial.c index 3191057811..7823172485 100644 --- a/src/southbridge/via/vt8235/vt8235_early_serial.c +++ b/src/southbridge/via/vt8235/vt8235_early_serial.c @@ -38,9 +38,6 @@ static void vt8235_writesioword(uint16_t reg, uint16_t val) static void enable_vt8235_serial(void) { - unsigned long x; - uint8_t c; - device_t dev; // turn on pnp vt8235_writepnpaddr(0x87); vt8235_writepnpaddr(0x87); diff --git a/src/southbridge/via/vt8235/vt8235_early_smbus.c b/src/southbridge/via/vt8235/vt8235_early_smbus.c index 9442b6e4d0..db403eb5fb 100644 --- a/src/southbridge/via/vt8235/vt8235_early_smbus.c +++ b/src/southbridge/via/vt8235/vt8235_early_smbus.c @@ -85,7 +85,6 @@ static int smbus_wait_until_ready(void) unsigned long loops; loops = SMBUS_TIMEOUT; do { - unsigned char val; smbus_delay(); c = inb(SMBUS_IO_BASE + SMBHSTSTAT); while((c & 1) == 1) { @@ -121,7 +120,6 @@ static int smbus_wait_until_done(void) unsigned char byte; loops = SMBUS_TIMEOUT; do { - unsigned char val; smbus_delay(); byte = inb(SMBUS_IO_BASE + SMBHSTSTAT); |