From: Hannes Laimer Date: Wed, 15 Jun 2022 08:19:57 +0000 (+0000) Subject: fixed_index: remove unused 'print_info' function X-Git-Tag: v2.3.1~224 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=707e2b39f396da1a3acea7f6ddd0e7b7c3d9fc18;p=proxmox-backup.git fixed_index: remove unused 'print_info' function Signed-off-by: Hannes Laimer Signed-off-by: Wolfgang Bumiller --- diff --git a/pbs-datastore/src/fixed_index.rs b/pbs-datastore/src/fixed_index.rs index 936bd2e7..9f703cce 100644 --- a/pbs-datastore/src/fixed_index.rs +++ b/pbs-datastore/src/fixed_index.rs @@ -142,19 +142,6 @@ impl FixedIndexReader { Ok(()) } - - pub fn print_info(&self) { - log::info!("Size: {}", self.size); - log::info!("ChunkSize: {}", self.chunk_size); - - let mut ctime_str = self.ctime.to_string(); - if let Ok(s) = proxmox_time::strftime_local("%c", self.ctime) { - ctime_str = s; - } - - log::info!("CTime: {}", ctime_str); - log::info!("UUID: {:?}", self.uuid); - } } impl IndexFile for FixedIndexReader {