diff options
| author | Rafael Zalamena <rzalamena@users.noreply.github.com> | 2023-01-26 13:30:55 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-01-26 13:30:55 -0300 |
| commit | 1596fa9c2f17a18c2ee3f08d645b504bf7bf6c07 (patch) | |
| tree | 033ca13762c31241f7d2e59919d54a6d44c9ba49 /lib/wheel.c | |
| parent | c30461fc74d59c39f1316d67bf1f01329700ccb3 (diff) | |
| parent | e5a5e5388e26040e2a67b3f06200e5fb3056cf5c (diff) | |
Merge pull request #12694 from donaldsharp/zebra_rib_dead_code
remove dead code
Diffstat (limited to 'lib/wheel.c')
| -rw-r--r-- | lib/wheel.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/lib/wheel.c b/lib/wheel.c index 6e9c88de9d..f2776d6091 100644 --- a/lib/wheel.c +++ b/lib/wheel.c @@ -118,21 +118,6 @@ void wheel_delete(struct timer_wheel *wheel) XFREE(MTYPE_TIMER_WHEEL, wheel); } -int wheel_stop(struct timer_wheel *wheel) -{ - THREAD_OFF(wheel->timer); - return 0; -} - -int wheel_start(struct timer_wheel *wheel) -{ - if (!wheel->timer) - thread_add_timer_msec(wheel->master, wheel_timer_thread, wheel, - wheel->nexttime, &wheel->timer); - - return 0; -} - int wheel_add_item(struct timer_wheel *wheel, void *item) { long long slot; |
