diff options
author | Juan Quintela | 2020-11-18 09:37:48 +0100 |
---|---|---|
committer | Michael S. Tsirkin | 2020-12-08 19:48:58 +0100 |
commit | 21e8709b29cd981c74565e75276ed476c954cbbf (patch) | |
tree | 5f942790da3737d6ae0b7a6022943d05c5e423de /include/hw/virtio | |
parent | failover: simplify failover_unplug_primary (diff) | |
download | qemu-21e8709b29cd981c74565e75276ed476c954cbbf.tar.gz qemu-21e8709b29cd981c74565e75276ed476c954cbbf.tar.xz qemu-21e8709b29cd981c74565e75276ed476c954cbbf.zip |
failover: Remove primary_dev member
Only three uses remained, and we can remove them on that case.
Signed-off-by: Juan Quintela <quintela@redhat.com>
Message-Id: <20201118083748.1328-28-quintela@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'include/hw/virtio')
-rw-r--r-- | include/hw/virtio/virtio-net.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/hw/virtio/virtio-net.h b/include/hw/virtio/virtio-net.h index efef64e02f..7e96d193aa 100644 --- a/include/hw/virtio/virtio-net.h +++ b/include/hw/virtio/virtio-net.h @@ -202,7 +202,6 @@ struct VirtIONet { AnnounceTimer announce_timer; bool needs_vnet_hdr_swap; bool mtu_bypass_backend; - DeviceState *primary_dev; /* primary failover device is hidden*/ bool failover_primary_hidden; bool failover; |