askrene: remove unused function

Signed-off-by: Lagrang3 <lagrang3@protonmail.com>
This commit is contained in:
Lagrang3 2024-09-19 10:12:53 +09:30 committed by Rusty Russell
parent 9b60f6cc6d
commit 0aa52b7fdd

View File

@ -5,7 +5,6 @@
#include <ccan/lqueue/lqueue.h>
#include <ccan/tal/str/str.h>
#include <ccan/tal/tal.h>
#include <common/pseudorand.h>
#include <common/utils.h>
#include <math.h>
#include <plugins/askrene/askrene.h>
@ -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 **