From 2db5605d3039e6b7b4e9cac7312c85e159e5e62e 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 44c8546795b3b3..950f506fd51af4 100644 --- a/core/src/banking_stage/transaction_scheduler/prio_graph_scheduler.rs +++ b/core/src/banking_stage/transaction_scheduler/prio_graph_scheduler.rs @@ -358,11 +358,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); }