summaryrefslogtreecommitdiff
path: root/res/res_monitor.c
diff options
context:
space:
mode:
authorJenkins2 <jenkins2@gerrit.asterisk.org>2018-01-29 12:39:34 -0600
committerGerrit Code Review <gerrit2@gerrit.digium.api>2018-01-29 12:39:34 -0600
commita231e1d155130f49f0235a20e6974b4be91c729f (patch)
treec380bfc8075515f3791935afd737bc5328cddbcf /res/res_monitor.c
parentbd565fc7cf79b8b18e3a88c01bbf1d364abdf7c8 (diff)
parent527cf5a57033820313356414b971fdf0f4382b21 (diff)
Merge "Remove redundant module checks and references."
Diffstat (limited to 'res/res_monitor.c')
-rw-r--r--res/res_monitor.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/res/res_monitor.c b/res/res_monitor.c
index e2b5fb252..a8631dcb7 100644
--- a/res/res_monitor.c
+++ b/res/res_monitor.c
@@ -985,9 +985,6 @@ static int load_module(void)
ast_manager_register_xml("PauseMonitor", EVENT_FLAG_CALL, pause_monitor_action);
ast_manager_register_xml("UnpauseMonitor", EVENT_FLAG_CALL, unpause_monitor_action);
- /* For Optional API. */
- ast_module_shutdown_ref(AST_MODULE_SELF);
-
return AST_MODULE_LOAD_SUCCESS;
}