e_main: remove unused e_precache_end 23/182123/1
authorGwanglim Lee <gl77.lee@samsung.com>
Wed, 20 Jun 2018 12:01:55 +0000 (21:01 +0900)
committerGwanglim Lee <gl77.lee@samsung.com>
Wed, 20 Jun 2018 12:01:55 +0000 (21:01 +0900)
Change-Id: I60abb7bbc4389f3c98aa436a49235e7d06f70fdb

src/bin/e.h
src/bin/e_main.c

index 17edbbd..0e747b5 100644 (file)
@@ -331,8 +331,6 @@ extern E_API E_Path *path_messages;
 extern E_API Eina_Bool starting;
 extern E_API Eina_Bool stopping;
 
-extern E_API Eina_Bool e_precache_end;
-
 //#define SMARTERR(args...) abort()
 #define SMARTERRNR() return
 #define SMARTERR(x)  return x
index 79b1c2a..8ce092b 100644 (file)
@@ -126,7 +126,6 @@ static Eina_Inlist *_e_main_hooks[] =
 };
 
 /* external variables */
-E_API Eina_Bool e_precache_end = EINA_FALSE;
 E_API Eina_Bool starting = EINA_TRUE;
 E_API Eina_Bool stopping = EINA_FALSE;
 
@@ -1141,21 +1140,11 @@ _e_main_cb_idle_after(void *data EINA_UNUSED)
    eet_clearcache();
    edje_freeze();
 
-#ifdef E_RELEASE_BUILD
    if (first_idle)
      {
         TSM("SLEEP");
         first_idle = 0;
-        e_precache_end = EINA_TRUE;
      }
-#else
-   if (first_idle++ < 60)
-     {
-        TSM("SLEEP");
-        if (!first_idle)
-          e_precache_end = EINA_TRUE;
-     }
-#endif
 
    return ECORE_CALLBACK_RENEW;
 }