]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/qemu-xen-traditional.git/commit
smbios: Don't allocate smbus eeprom buffer
authorAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 21 Apr 2015 13:32:08 +0000 (14:32 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 16 Oct 2015 15:52:06 +0000 (16:52 +0100)
commitb1f89c26126df966894b1e0746bfa56267ae1478
tree5a3ccdd75c5c857c4c3a06d2dceb411bf0879a2c
parent79398a2710be3e2cf228a23eb15cf9573ff9fe9b
smbios: Don't allocate smbus eeprom buffer

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.cooper3@citrix.com>
Coverity-ID: 1090387
hw/pc.c