ecore - remove environ lock that isn't used anymore
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>
Fri, 1 Mar 2019 10:03:48 +0000 (10:03 +0000)
committerWonki Kim <wonki_.kim@samsung.com>
Fri, 8 Mar 2019 11:49:37 +0000 (20:49 +0900)
bu5hm4n forgot to remove this when doing his env class changes -
remove it as its unused now.

src/lib/ecore/ecore.c

index d28de1a..af81e07 100644 (file)
@@ -106,8 +106,6 @@ static Eina_Condition _thread_cond;
 static Eina_Lock _thread_feedback_mutex;
 static Eina_Condition _thread_feedback_cond;
 
-Eina_Lock _environ_lock;
-
 static Eina_Lock _thread_id_lock;
 static int _thread_id = -1;
 static int _thread_id_max = 0;
@@ -266,8 +264,6 @@ ecore_init(void)
         goto shutdown_log_dom;
      }
 
-   eina_lock_new(&_environ_lock);
-
    efl_object_init();
 
    if (getenv("ECORE_FPS_DEBUG")) _ecore_fps_debug = 1;
@@ -471,8 +467,6 @@ ecore_shutdown(void)
 
      efl_object_shutdown();
 
-     eina_lock_free(&_environ_lock);
-
      eina_evlog("<RUN", NULL, 0.0, NULL);
      eina_shutdown();
 #ifdef _WIN32