Remove waiting mountpoints 54/164254/1
authorHwankyu Jhun <h.jhun@samsung.com>
Mon, 18 Dec 2017 08:35:43 +0000 (17:35 +0900)
committerHwankyu Jhun <h.jhun@samsung.com>
Mon, 18 Dec 2017 08:35:43 +0000 (17:35 +0900)
Change-Id: Ie9bfc45e040ba2c1d50e9a7698d88de896a2325b
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
src/base/appcore_base.c

index da4d63a..e195253 100644 (file)
@@ -1132,11 +1132,6 @@ EXPORT_API int appcore_base_on_receive(aul_type type, bundle *b)
 EXPORT_API int appcore_base_on_create(void)
 {
        int r;
-       bundle *b;
-       int ret;
-       int i;
-       int len = 0;
-       const char **tep_path;
 
        r = aul_launch_init(__context.ops.receive, NULL);
        if (r < 0) {
@@ -1150,25 +1145,6 @@ EXPORT_API int appcore_base_on_create(void)
                return -1;
        }
 
-       b = bundle_import_from_argv(__context.argc, __context.argv);
-       if (b == NULL) {
-               _ERR("Failed to import bundle");
-               return 0;
-       }
-
-       tep_path = bundle_get_str_array(b, AUL_TEP_PATH, &len);
-       if (tep_path) {
-               for (i = 0; i < len; i++) {
-                       ret = aul_check_tep_mount(tep_path[i]);
-                       if (ret == -1) {
-                               _ERR("mount request not completed within 1 sec");
-                               exit(-1);
-                       }
-               }
-       }
-
-       bundle_free(b);
-
        return 0;
 }