Skip to content

Commit 0aa52b7

Browse files
Lagrang3rustyrussell
authored andcommitted
askrene: remove unused function
Signed-off-by: Lagrang3 <[email protected]>
1 parent 9b60f6c commit 0aa52b7

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

plugins/askrene/mcf.c

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
#include <ccan/lqueue/lqueue.h>
66
#include <ccan/tal/str/str.h>
77
#include <ccan/tal/tal.h>
8-
#include <common/pseudorand.h>
98
#include <common/utils.h>
109
#include <math.h>
1110
#include <plugins/askrene/askrene.h>
@@ -1087,14 +1086,6 @@ struct list_data
10871086
struct flow *flow_path;
10881087
};
10891088

1090-
static inline uint64_t pseudorand_interval(uint64_t a, uint64_t b)
1091-
{
1092-
if (a == b)
1093-
return b;
1094-
assert(b > a);
1095-
return a + pseudorand(b - a);
1096-
}
1097-
10981089
/* Given a flow in the residual network, build a set of payment flows in the
10991090
* gossmap that corresponds to this flow. */
11001091
static struct flow **

0 commit comments

Comments
 (0)