From 61909725c4cd485285ba0f65900f876fc2a13419 Mon Sep 17 00:00:00 2001 From: Andrew Fitzgerald Date: Mon, 9 Dec 2024 15:45:44 -0600 Subject: [PATCH] remove explicit drop --- .../transaction_scheduler/prio_graph_scheduler.rs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/core/src/banking_stage/transaction_scheduler/prio_graph_scheduler.rs b/core/src/banking_stage/transaction_scheduler/prio_graph_scheduler.rs index 726d21284ea23e..8edebc1f80c200 100644 --- a/core/src/banking_stage/transaction_scheduler/prio_graph_scheduler.rs +++ b/core/src/banking_stage/transaction_scheduler/prio_graph_scheduler.rs @@ -378,11 +378,6 @@ impl PrioGraphScheduler { continue; } } - // Transaction must be dropped before removing, since we - // currently have ownership of the transaction, and - // therefore may have a reference to the backing-memory - // that the container expects to be free. - drop(transaction); container.remove_by_id(id); }