failover: remove standby_id variable
commit4f0303aed87f83715055e558176046a8a3d9b987
authorJuan Quintela <quintela@redhat.com>
Wed, 18 Nov 2020 08:37:32 +0000 (18 09:37 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 8 Dec 2020 18:48:57 +0000 (8 13:48 -0500)
treead54e0dcd65d3e262b41c1b429700fee75e1c7a9
parent19e49bc2e984bd065719fc3595f35368b3ae87cd
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>
hw/net/virtio-net.c
include/hw/virtio/virtio-net.h