summaryrefslogtreecommitdiffstats
path: root/lib/wheel.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2018-10-02 11:39:51 +0200
committerDavid Lamparter <equinox@opensourcerouting.org>2018-10-02 11:40:52 +0200
commit6a154c88122dd0a9e9deb4309e15b975ad169817 (patch)
tree25e32515503d2b9327ff43e335b4b5ceb4d74787 /lib/wheel.c
parentlib: remove deprecated list_delete()/list_free() (diff)
downloadfrr-6a154c88122dd0a9e9deb4309e15b975ad169817.tar.xz
frr-6a154c88122dd0a9e9deb4309e15b975ad169817.zip
*: list_delete_and_null() -> list_delete()
Signed-off-by: David Lamparter <equinox@diac24.net>
Diffstat (limited to 'lib/wheel.c')
-rw-r--r--lib/wheel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/wheel.c b/lib/wheel.c
index 722b02424..69d2fa48d 100644
--- a/lib/wheel.c
+++ b/lib/wheel.c
@@ -115,7 +115,7 @@ void wheel_delete(struct timer_wheel *wheel)
int i;
for (i = 0; i < wheel->slots; i++) {
- list_delete_and_null(&wheel->wheel_slot_lists[i]);
+ list_delete(&wheel->wheel_slot_lists[i]);
}
THREAD_OFF(wheel->timer);