smbus_eeprom_device_init() has been disabled since 2007. The #define turns
the actual function call into a comma expression with no effect.
Removing the leaked allocation also makes Valgrind happier.
Signed-off-by: Andrew Cooper andrew.coop...@citrix.com
Coverity-ID: 1090387
---
hw/pc.c | 12
smbus_eeprom_device_init() has been disabled since 2007. The #define turns
the actual function call into a comma expression with no effect.
Removing the leaked allocation also makes Valgrind happier.
Signed-off-by: Andrew Cooper andrew.coop...@citrix.com
Coverity-ID: 1090387
---
hw/pc.c | 12