diff options
author | David Lamparter <equinox@opensourcerouting.org> | 2018-10-02 11:39:51 +0200 |
---|---|---|
committer | David Lamparter <equinox@opensourcerouting.org> | 2018-10-02 11:40:52 +0200 |
commit | 6a154c88122dd0a9e9deb4309e15b975ad169817 (patch) | |
tree | 25e32515503d2b9327ff43e335b4b5ceb4d74787 /isisd/isis_lsp.c | |
parent | lib: remove deprecated list_delete()/list_free() (diff) | |
download | frr-6a154c88122dd0a9e9deb4309e15b975ad169817.tar.xz frr-6a154c88122dd0a9e9deb4309e15b975ad169817.zip |
*: list_delete_and_null() -> list_delete()
Signed-off-by: David Lamparter <equinox@diac24.net>
Diffstat (limited to 'isisd/isis_lsp.c')
-rw-r--r-- | isisd/isis_lsp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/isisd/isis_lsp.c b/isisd/isis_lsp.c index b2c6f092e..5418e3189 100644 --- a/isisd/isis_lsp.c +++ b/isisd/isis_lsp.c @@ -126,7 +126,7 @@ static void lsp_destroy(struct isis_lsp *lsp) lsp_clear_data(lsp); if (LSP_FRAGMENT(lsp->hdr.lsp_id) == 0 && lsp->lspu.frags) { - list_delete_and_null(&lsp->lspu.frags); + list_delete(&lsp->lspu.frags); lsp->lspu.frags = NULL; } @@ -1181,7 +1181,7 @@ static void lsp_build(struct isis_lsp *lsp, struct isis_area *area) frag->tlvs = tlvs; } - list_delete_and_null(&fragments); + list_delete(&fragments); lsp_debug("ISIS (%s): LSP construction is complete. Serializing...", area->area_tag); return; @@ -1560,7 +1560,7 @@ static void lsp_build_pseudo(struct isis_lsp *lsp, struct isis_circuit *circuit, LSP_PSEUDO_ID(ne_id)); } } - list_delete_and_null(&adj_list); + list_delete(&adj_list); return; } |