[Xen-devel] [PATCH 13/32] smbios: Don't allocate smbus eeprom buffer

2015-04-22 Thread Andrew Cooper
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

[Xen-devel] [PATCH 13/32] smbios: Don't allocate smbus eeprom buffer

2015-04-22 Thread Andrew Cooper
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