mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 15:23:53 -06:00
failover: remove standby_id variable
We can calculate it, and we only use it once anyways. Signed-off-by: Juan Quintela <quintela@redhat.com> Message-Id: <20201118083748.1328-12-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
19e49bc2e9
commit
4f0303aed8
2 changed files with 3 additions and 9 deletions
|
@ -205,7 +205,6 @@ struct VirtIONet {
|
|||
QDict *primary_device_dict;
|
||||
DeviceState *primary_dev;
|
||||
char *primary_device_id;
|
||||
char *standby_id;
|
||||
/* primary failover device is hidden*/
|
||||
bool failover_primary_hidden;
|
||||
bool failover;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue