]> git.proxmox.com Git - pve-storage.git/commitdiff
ZFSPoolPlugin.pm: remove unused code
authorDietmar Maurer <dietmar@proxmox.com>
Thu, 8 Jun 2017 06:45:22 +0000 (08:45 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Thu, 8 Jun 2017 06:45:22 +0000 (08:45 +0200)
PVE/Storage/ZFSPoolPlugin.pm

index c8415ebbde5c315e0bd3a5812a43511981d2decf..fbda2c4571f4053a4053aab8e11469071cb3f8a0 100644 (file)
@@ -501,7 +501,6 @@ sub volume_snapshot_list {
 
     my $zpath = "$scfg->{pool}/$name";
 
-    $prefix = '' if !defined($prefix);
     my $snaps = [];
 
     my $cmd = ['zfs', 'list', '-r', '-H', '-S', 'name', '-t', 'snap', '-o',