aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2020-11-18 09:37:33 +0100
committerMichael S. Tsirkin <mst@redhat.com>2020-12-08 13:48:57 -0500
commit9673a88e97d1eb428872bd261dbf56a0f3c2fd71 (patch)
tree011eb669e45e1be71c2a43caf1233748417ca551 /include
parent4f0303aed87f83715055e558176046a8a3d9b987 (diff)
downloadqemu-9673a88e97d1eb428872bd261dbf56a0f3c2fd71.zip
qemu-9673a88e97d1eb428872bd261dbf56a0f3c2fd71.tar.gz
qemu-9673a88e97d1eb428872bd261dbf56a0f3c2fd71.tar.bz2
failover: Remove primary_device_dict
It was only used once. And we have there opts->id, so no need for it. Signed-off-by: Juan Quintela <quintela@redhat.com> Message-Id: <20201118083748.1328-13-quintela@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/hw/virtio/virtio-net.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/hw/virtio/virtio-net.h b/include/hw/virtio/virtio-net.h
index a055f39..fe353d8 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;
- QDict *primary_device_dict;
DeviceState *primary_dev;
char *primary_device_id;
/* primary failover device is hidden*/