dof: remove unnecessary uat_load calls

UATs are loaded at startup, no need to do it again. Call chain:
epan_load_settings -> read_prefs -> init_prefs -> uat_load_all.

Change-Id: I57caabafb16b0b46fcb6d1621dd6b503154c805c
Reviewed-on: https://code.wireshark.org/review/30958
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
This commit is contained in:
Peter Wu 2018-12-07 13:51:59 +01:00 committed by Anders Broman
parent 1d1915f6e9
commit f618fcd3af
1 changed files with 0 additions and 5 deletions

View File

@ -10864,7 +10864,6 @@ static void dof_register(void)
uat_t *secmode_uat;
uat_t *seckey_uat;
uat_t *identsecret_uat;
char *uat_load_err;
expert_module_t *expert_security;
dsp_option_dissectors = register_dissector_table("dof.dsp.options", "DSP Protocol Options", proto_2008_1_dsp, FT_UINT32, BASE_DEC);
@ -10959,10 +10958,6 @@ static void dof_register(void)
prefs_register_uat_preference(dof_module, "custom_dof_identsecret_list", "DPS Identity Secrets",
"A table of secrets for different identities.",
identsecret_uat);
uat_load(secmode_uat, NULL, &uat_load_err);
uat_load(seckey_uat, NULL, &uat_load_err);
uat_load(identsecret_uat, NULL, &uat_load_err);
}
static void dof_handoff(void)