diff --git a/runtime/src/in_mem_accounts_index.rs b/runtime/src/in_mem_accounts_index.rs index b6c60f953..7033b81af 100644 --- a/runtime/src/in_mem_accounts_index.rs +++ b/runtime/src/in_mem_accounts_index.rs @@ -84,11 +84,6 @@ impl InMemAccountsIndex { result } - pub fn remove(&mut self, key: &K) { - Self::update_stat(&self.stats().deletes, 1); - self.map.remove(key); - } - // If the slot list for pubkey exists in the index and is empty, remove the index entry for pubkey and return true. // Return false otherwise. pub fn remove_if_slot_list_empty(&mut self, pubkey: Pubkey) -> bool {