Commit 540d82b4 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Remove the old module config lock

parent b2c266cd
......@@ -178,7 +178,6 @@ struct module_config_t
int i_action; /* actions list size */
/* Misc */
vlc_mutex_t *p_lock; /* Lock to use when modifying the config */
bool b_dirty; /* Dirty flag to indicate a config change */
bool b_advanced; /* Flag to indicate an advanced option */
bool b_internal; /* Flag to indicate option is not to be shown */
......
......@@ -392,8 +392,6 @@ static int CacheLoadConfig( module_t *p_module, FILE *file )
p_module->p_config[i].b_dirty = false;
p_module->p_config[i].p_lock = &p_module->lock;
if( p_module->p_config[i].i_list )
{
if( p_module->p_config[i].ppsz_list )
......
......@@ -37,7 +37,6 @@ static void vlc_module_destruct (gc_object_t *obj)
{
module_t *module = vlc_priv (obj, module_t);
vlc_mutex_destroy (&module->lock);
free (module->psz_object_name);
free (module);
}
......@@ -56,7 +55,6 @@ module_t *vlc_module_create (vlc_object_t *obj)
module->parent = NULL;
module->submodule_count = 0;
vlc_gc_init (module, vlc_module_destruct);
vlc_mutex_init (&module->lock);
module->psz_shortname = NULL;
module->psz_longname = (char*)default_name;
......@@ -135,7 +133,6 @@ static module_config_t *vlc_config_create (module_t *module, int type)
memset (tab + confsize, 0, sizeof (tab[confsize]));
tab[confsize].i_type = type;
tab[confsize].p_lock = &module->lock;
if (type & CONFIG_ITEM)
{
......
......@@ -102,7 +102,6 @@ struct module_t
module_t *parent;
unsigned submodule_count;
gc_object_t vlc_gc_data;
vlc_mutex_t lock;
/*
* Variables set by the module to identify itself
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment