mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -06:00
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>
This commit is contained in:
parent
4f0303aed8
commit
9673a88e97
2 changed files with 4 additions and 14 deletions
|
@ -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*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue