[pve-devel] [PATCH qemu-server] cleanup unused variable

Stefan Reiter s.reiter at proxmox.com
Tue May 18 17:39:07 CEST 2021


introduced in fd70c84362, presumably by accident?

Signed-off-by: Stefan Reiter <s.reiter at proxmox.com>
---
 PVE/QemuServer.pm | 1 -
 1 file changed, 1 deletion(-)

diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm
index 773d060..2f101b7 100644
--- a/PVE/QemuServer.pm
+++ b/PVE/QemuServer.pm
@@ -6435,7 +6435,6 @@ sub pbs_live_restore {
 	print "restoring '$ds' to '$drive->{file}'\n";
     }
 
-    my $drives_streamed = 0;
     eval {
 	# make sure HA doesn't interrupt our restore by stopping the VM
 	if (PVE::HA::Config::vm_is_ha_managed($vmid)) {
-- 
2.20.1






More information about the pve-devel mailing list