marsadm: remove dead sub

This commit is contained in:
Thomas Schoebel-Theuer 2017-11-12 11:12:44 +01:00 committed by Thomas Schoebel-Theuer
parent 2f2b57f451
commit 2c74910b56

View File

@ -255,12 +255,6 @@ sub to_tmp {
return $path;
}
sub from_tmp {
my $path = shift;
$path =~ s:^(.*)/\.tmp\.:$1/:;
return $path;
}
sub set_link {
my ($src, $dst) = @_;
my $dst_tmp = to_tmp($dst);