From 2f71827cacdd22a05ab1bcf6205a27ba31dd7d9f Mon Sep 17 00:00:00 2001 From: Lagrang3 Date: Thu, 12 Sep 2024 10:36:51 +0100 Subject: [PATCH] askrene: remove unused function Signed-off-by: Lagrang3 --- plugins/askrene/mcf.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/plugins/askrene/mcf.c b/plugins/askrene/mcf.c index aa1ee193885a..18b62ab7570e 100644 --- a/plugins/askrene/mcf.c +++ b/plugins/askrene/mcf.c @@ -5,7 +5,6 @@ #include #include #include -#include #include #include #include @@ -1087,14 +1086,6 @@ struct list_data struct flow *flow_path; }; -static inline uint64_t pseudorand_interval(uint64_t a, uint64_t b) -{ - if (a == b) - return b; - assert(b > a); - return a + pseudorand(b - a); -} - /* Given a flow in the residual network, build a set of payment flows in the * gossmap that corresponds to this flow. */ static struct flow **