From b5273610b2ea3a7899eb0f5357bdbd6d805503f3 Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Wed, 9 Aug 2023 11:44:58 +0930 Subject: [PATCH] renepay: remove unused all_flows field. Signed-off-by: Rusty Russell --- plugins/renepay/payment.c | 1 - plugins/renepay/payment.h | 3 --- 2 files changed, 4 deletions(-) diff --git a/plugins/renepay/payment.c b/plugins/renepay/payment.c index deff95495..452a4caf2 100644 --- a/plugins/renepay/payment.c +++ b/plugins/renepay/payment.c @@ -55,7 +55,6 @@ struct renepay * renepay_new(struct command *cmd) renepay->rexmit_timer = NULL; renepay->next_attempt=1; renepay->next_partid=1; - renepay->all_flows = tal(renepay,tal_t); return renepay; } diff --git a/plugins/renepay/payment.h b/plugins/renepay/payment.h index 96da7a9ce..fda3ad29d 100644 --- a/plugins/renepay/payment.h +++ b/plugins/renepay/payment.h @@ -124,9 +124,6 @@ struct renepay int next_attempt; /* Used in get_payflows to set ids to each pay_flow. */ u64 next_partid; - - /* Root to destroy pending flows */ - tal_t *all_flows; }; struct payment * payment_new(struct renepay *renepay);