]> git.sesse.net Git - vlc/commitdiff
Remove unused modules_t.b_reentrant
authorRémi Denis-Courmont <remi@remlab.net>
Wed, 6 Jan 2010 20:27:38 +0000 (22:27 +0200)
committerRémi Denis-Courmont <remi@remlab.net>
Wed, 6 Jan 2010 20:28:15 +0000 (22:28 +0200)
src/modules/cache.c
src/modules/entry.c
src/modules/modules.h

index 4f3c34f8efa68830007d3df9df3b2425ec75d656..74d12589f48ae945836e1cd43e352705de805d60 100644 (file)
@@ -84,7 +84,7 @@ static int    CacheSaveConfig  ( module_t *, FILE * );
 
 /* Sub-version number
  * (only used to avoid breakage in dev version when cache structure changes) */
-#define CACHE_SUBVERSION_NUM 5
+#define CACHE_SUBVERSION_NUM 6
 
 /* Format string for the cache filename */
 #define CACHENAME_FORMAT \
@@ -286,7 +286,6 @@ void CacheLoad( vlc_object_t *p_this, module_bank_t *p_bank, bool b_delete )
         LOAD_IMMEDIATE( pp_cache[i]->p_module->i_score );
         LOAD_IMMEDIATE( pp_cache[i]->p_module->i_cpu );
         LOAD_IMMEDIATE( pp_cache[i]->p_module->b_unloadable );
-        LOAD_IMMEDIATE( pp_cache[i]->p_module->b_reentrant );
         LOAD_IMMEDIATE( pp_cache[i]->p_module->b_submodule );
 
         /* Config stuff */
@@ -313,7 +312,6 @@ void CacheLoad( vlc_object_t *p_this, module_bank_t *p_bank, bool b_delete )
             LOAD_IMMEDIATE( p_module->i_score );
             LOAD_IMMEDIATE( p_module->i_cpu );
             LOAD_IMMEDIATE( p_module->b_unloadable );
-            LOAD_IMMEDIATE( p_module->b_reentrant );
         }
     }
 
@@ -566,7 +564,6 @@ void CacheSave( vlc_object_t *p_this, module_bank_t *p_bank )
         SAVE_IMMEDIATE( pp_cache[i]->p_module->i_score );
         SAVE_IMMEDIATE( pp_cache[i]->p_module->i_cpu );
         SAVE_IMMEDIATE( pp_cache[i]->p_module->b_unloadable );
-        SAVE_IMMEDIATE( pp_cache[i]->p_module->b_reentrant );
         SAVE_IMMEDIATE( pp_cache[i]->p_module->b_submodule );
 
         /* Config stuff */
@@ -626,7 +623,6 @@ static int CacheSaveSubmodule( FILE *file, module_t *p_module )
     SAVE_IMMEDIATE( p_module->i_score );
     SAVE_IMMEDIATE( p_module->i_cpu );
     SAVE_IMMEDIATE( p_module->b_unloadable );
-    SAVE_IMMEDIATE( p_module->b_reentrant );
     return 0;
 
 error:
index a3679f17f727e701607a5c54acc06de30199d847..68dff9f0e59e86ecd7c237ce466807bed01900cc 100644 (file)
@@ -67,7 +67,6 @@ module_t *vlc_module_create (vlc_object_t *obj)
     module->i_score = 1;
     module->i_cpu = 0;
     module->b_unloadable = true;
-    module->b_reentrant = true;
     module->b_submodule = false;
     module->pf_activate = NULL;
     module->pf_deactivate = NULL;
index e1dfa2e0c3e5d0d5be0552ef713f14b5ec8bcf21..830cb9c9db58ab88fbdf9c004e439495cc17c06a 100644 (file)
@@ -119,7 +119,6 @@ struct module_t
     uint32_t i_cpu;                           /**< Required CPU capabilities */
 
     bool b_unloadable;                        /**< Can we be dlclosed? */
-    bool b_reentrant;                           /**< Are we reentrant? */
     bool b_submodule;                        /**< Is this a submodule? */
 
     /* Callbacks */