diff --git a/bin/named/control.c b/bin/named/control.c index d07896ecd5..29d1cd1f0f 100644 --- a/bin/named/control.c +++ b/bin/named/control.c @@ -278,9 +278,6 @@ named_control_docommand(isccc_sexpr_t *message, bool readonly, command_compare(command, NAMED_COMMAND_UNFREEZE)) { result = named_server_freeze(named_g_server, false, lex, text); - } else if (command_compare(command, NAMED_COMMAND_TIMERPOKE)) { - isc_timermgr_poke(named_g_timermgr); - result = ISC_R_SUCCESS; } else if (command_compare(command, NAMED_COMMAND_TRACE)) { result = named_server_setdebuglevel(named_g_server, lex); } else if (command_compare(command, NAMED_COMMAND_TSIGDELETE)) { diff --git a/bin/named/include/named/control.h b/bin/named/include/named/control.h index 29b56775fd..1ea4c490fb 100644 --- a/bin/named/include/named/control.h +++ b/bin/named/include/named/control.h @@ -48,7 +48,6 @@ #define NAMED_COMMAND_FREEZE "freeze" #define NAMED_COMMAND_UNFREEZE "unfreeze" #define NAMED_COMMAND_THAW "thaw" -#define NAMED_COMMAND_TIMERPOKE "timerpoke" #define NAMED_COMMAND_RECURSING "recursing" #define NAMED_COMMAND_NULL "null" #define NAMED_COMMAND_NOTIFY "notify" diff --git a/lib/isc/include/isc/timer.h b/lib/isc/include/isc/timer.h index ac3133fa31..3983c4e386 100644 --- a/lib/isc/include/isc/timer.h +++ b/lib/isc/include/isc/timer.h @@ -252,7 +252,4 @@ isc_timer_gettype(isc_timer_t *timer); *\li 'timer' to be a valid timer. */ -void -isc_timermgr_poke(isc_timermgr_t *m); - ISC_LANG_ENDDECLS diff --git a/lib/isc/timer.c b/lib/isc/timer.c index 02eeafe4e8..544e79655e 100644 --- a/lib/isc/timer.c +++ b/lib/isc/timer.c @@ -92,9 +92,6 @@ struct isc_timermgr { isc_heap_t *heap; }; -void -isc_timermgr_poke(isc_timermgr_t *manager); - static inline isc_result_t schedule(isc_timer_t *timer, isc_time_t *now, bool signal_ok) { isc_timermgr_t *manager; @@ -629,13 +626,6 @@ isc__timermgr_create(isc_mem_t *mctx, isc_timermgr_t **managerp) { return (ISC_R_SUCCESS); } -void -isc_timermgr_poke(isc_timermgr_t *manager) { - REQUIRE(VALID_MANAGER(manager)); - - SIGNAL(&manager->wakeup); -} - void isc__timermgr_destroy(isc_timermgr_t **managerp) { isc_timermgr_t *manager;