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_interface.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_interface.c')
-rw-r--r-- | ospfd/ospf_interface.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ospfd/ospf_interface.c b/ospfd/ospf_interface.c index 2ad36ae36..ddb25a20f 100644 --- a/ospfd/ospf_interface.c +++ b/ospfd/ospf_interface.c @@ -341,10 +341,10 @@ void ospf_if_free(struct ospf_interface *oi) route_table_finish(oi->ls_upd_queue); /* Free any lists that should be freed */ - list_delete_and_null(&oi->nbr_nbma); + list_delete(&oi->nbr_nbma); - list_delete_and_null(&oi->ls_ack); - list_delete_and_null(&oi->ls_ack_direct.ls_ack); + list_delete(&oi->ls_ack); + list_delete(&oi->ls_ack_direct.ls_ack); if (IS_DEBUG_OSPF_EVENT) zlog_debug("%s: ospf interface %s vrf %s id %u deleted", @@ -545,7 +545,7 @@ static struct ospf_if_params *ospf_new_if_params(void) void ospf_del_if_params(struct ospf_if_params *oip) { - list_delete_and_null(&oip->auth_crypt); + list_delete(&oip->auth_crypt); bfd_info_free(&(oip->bfd_info)); XFREE(MTYPE_OSPF_IF_PARAMS, oip); } |