]> git.proxmox.com Git - mirror_qemu.git/commit - hw/virtio/vhost.c
vhost: Merge and delete unused callbacks
authorDr. David Alan Gilbert <dgilbert@redhat.com>
Fri, 19 Jan 2018 10:39:23 +0000 (10:39 +0000)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 8 Feb 2018 19:06:41 +0000 (21:06 +0200)
commit938eeb640c0a006a3a53ea6f8b409cad56b80a55
treed0d505bd0c5df96d95da16bfade90a1c67c64a51
parent06709c120ca3bae9fa243783b89005c08b71a440
vhost: Merge and delete unused callbacks

Now that the olf vhost_set_memory code is gone, the _nop and _add
callbacks are identical and can be merged.  The _del callback is
no longer needed.

Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/virtio/vhost.c