From 25e9199397c76c3b3ab9d88ed34bde190dae4ce2 Mon Sep 17 00:00:00 2001 From: "Jeff Washington (jwash)" Date: Thu, 21 Apr 2022 14:05:01 -0500 Subject: [PATCH] cleanup FlushStats (#24556) --- runtime/src/accounts_db.rs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/runtime/src/accounts_db.rs b/runtime/src/accounts_db.rs index 94cd805005..143eddb1bc 100644 --- a/runtime/src/accounts_db.rs +++ b/runtime/src/accounts_db.rs @@ -1257,13 +1257,8 @@ impl PurgeStats { #[derive(Debug, Default)] struct FlushStats { - #[allow(dead_code)] - slot: Slot, - #[allow(dead_code)] num_flushed: usize, - #[allow(dead_code)] num_purged: usize, - #[allow(dead_code)] total_size: u64, } @@ -4891,7 +4886,6 @@ impl AccountsDb { // flushing. That case is handled by retry_to_get_account_accessor() assert!(self.accounts_cache.remove_slot(slot).is_some()); FlushStats { - slot, num_flushed, num_purged, total_size,