diff options
Diffstat (limited to 'hw/smbus.c')
-rw-r--r-- | hw/smbus.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/hw/smbus.c b/hw/smbus.c index ed31a5961b..77626f3645 100644 --- a/hw/smbus.c +++ b/hw/smbus.c @@ -207,12 +207,6 @@ static int smbus_device_init(I2CSlave *i2c) return sc->init(dev); } -void smbus_register_device(DeviceInfo *info) -{ - assert(info->size >= sizeof(SMBusDevice)); - i2c_register_slave_subclass(info, TYPE_SMBUS_DEVICE); -} - /* Master device commands. */ void smbus_quick_command(i2c_bus *bus, uint8_t addr, int read) { |