[pve-devel] [PATCH_V2 2/2] QemuServer: remove useless var

Wolfgang Link w.link at proxmox.com
Thu Feb 12 08:41:36 CET 2015


Signed-off-by: Wolfgang Link <w.link at proxmox.com>
---
 PVE/QemuServer.pm |    1 -
 1 file changed, 1 deletion(-)

diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm
index 3fc742c..b457095 100644
--- a/PVE/QemuServer.pm
+++ b/PVE/QemuServer.pm
@@ -5621,7 +5621,6 @@ sub snapshot_rollback {
 	return if drive_is_cdrom($drive);
 
 	my $volid = $drive->{file};
-	my $device = "drive-$ds";
 
 	PVE::Storage::volume_snapshot_rollback($storecfg, $volid, $snapname);
     });
-- 
1.7.10.4





More information about the pve-devel mailing list