rbd: remove unused size conversion function

since the json output gives the sizes in bytes, we do not
need to convert anymore

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
Dominik Csapak
2018-09-06 11:35:43 +02:00
committed by Thomas Lamprecht
parent 89a8800bc3
commit c093e93b28

View File

@ -13,13 +13,6 @@ use JSON;
use base qw(PVE::Storage::Plugin);
my $rbd_unittobytes = {
"k" => 1024,
"M" => 1024*1024,
"G" => 1024*1024*1024,
"T" => 1024*1024*1024*1024,
};
my $get_parent_image_name = sub {
my ($parent) = @_;
return undef if !$parent;