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 /ospfd/ospf_sr.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 'ospfd/ospf_sr.c')
-rw-r--r-- | ospfd/ospf_sr.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ospfd/ospf_sr.c b/ospfd/ospf_sr.c index 33ec09b9f..d79373500 100644 --- a/ospfd/ospf_sr.c +++ b/ospfd/ospf_sr.c @@ -165,10 +165,10 @@ static void sr_node_del(struct sr_node *srn) return; /* Clean Extended Link */ - list_delete_and_null(&srn->ext_link); + list_delete(&srn->ext_link); /* Clean Prefix List */ - list_delete_and_null(&srn->ext_prefix); + list_delete(&srn->ext_prefix); XFREE(MTYPE_OSPF_SR_PARAMS, srn); } @@ -283,7 +283,7 @@ static void ospf_sr_stop(void) /* * Remove all SR Nodes from the Hash table. Prefix and Link SID will - * be remove though list_delete_and_null() call. See sr_node_del() + * be remove though list_delete() call. See sr_node_del() */ hash_clean(OspfSR.neighbors, (void *)sr_node_del); } |