mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-04 11:58:52 +00:00
Remove redundant module checks and references.
This removes references that are no longer needed due to automatic references created by module dependencies. In addition this removes most calls to ast_module_check as they were checking modules which are listed as dependencies. Change-Id: I332a6e8383d4c72c8e89d988a184ab8320c4872e
This commit is contained in:
@@ -1346,7 +1346,7 @@ int ast_sip_initialize_sorcery_location(void)
|
||||
ast_sorcery_object_field_register(sorcery, "aor", "outbound_proxy", "", OPT_STRINGFIELD_T, 0, STRFLDSET(struct ast_sip_aor, outbound_proxy));
|
||||
ast_sorcery_object_field_register(sorcery, "aor", "support_path", "no", OPT_BOOL_T, 1, FLDSET(struct ast_sip_aor, support_path));
|
||||
|
||||
internal_sip_register_endpoint_formatter(&endpoint_aor_formatter);
|
||||
ast_sip_register_endpoint_formatter(&endpoint_aor_formatter);
|
||||
|
||||
contact_formatter = ao2_alloc(sizeof(struct ast_sip_cli_formatter_entry), NULL);
|
||||
if (!contact_formatter) {
|
||||
@@ -1402,7 +1402,7 @@ int ast_sip_destroy_sorcery_location(void)
|
||||
ast_sip_unregister_cli_formatter(aor_formatter);
|
||||
ast_manager_unregister("PJSIPShowAors");
|
||||
|
||||
internal_sip_unregister_endpoint_formatter(&endpoint_aor_formatter);
|
||||
ast_sip_unregister_endpoint_formatter(&endpoint_aor_formatter);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user