cleanup FlushStats (#24556)

This commit is contained in:
Jeff Washington (jwash) 2022-04-21 14:05:01 -05:00 committed by GitHub
parent 3d0ca2d94e
commit 25e9199397
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 6 deletions

View File

@ -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,