mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-07-31 14:23:53 -06:00
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>
This commit is contained in:
parent
07a5d816d5
commit
21e8709b29
2 changed files with 34 additions and 42 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue