aboutsummaryrefslogtreecommitdiff
path: root/hw/i2c.c
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2009-09-29 22:48:44 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-10-05 09:32:39 -0500
commit6b0e766f4ca6fece18d12d8764d75eab8895b4bb (patch)
tree9578f226cf39a28dbfade81508281bfbd37c31d0 /hw/i2c.c
parentaa1e3b286c32fd5232a77b835c0e08bd44c462a0 (diff)
vmstate: remove i2c_slave_load/save
All its users moved to vmstate Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/i2c.c')
-rw-r--r--hw/i2c.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/hw/i2c.c b/hw/i2c.c
index e561e7f973..6cd4701a96 100644
--- a/hw/i2c.c
+++ b/hw/i2c.c
@@ -165,17 +165,6 @@ const VMStateDescription vmstate_i2c_slave = {
}
};
-void i2c_slave_save(QEMUFile *f, i2c_slave *dev)
-{
- vmstate_save_state(f, &vmstate_i2c_slave, dev);
-}
-
-void i2c_slave_load(QEMUFile *f, i2c_slave *dev)
-{
- vmstate_load_state(f, &vmstate_i2c_slave, dev,
- vmstate_i2c_slave.version_id);
-}
-
static int i2c_slave_qdev_init(DeviceState *dev, DeviceInfo *base)
{
I2CSlaveInfo *info = container_of(base, I2CSlaveInfo, qdev);