Merge "Do not call rilc_thread_pool if there is no ril library" am: 001a126f8b
am: 61eae8ffd1

Change-Id: Ia5ae77b5c7655503031bd44c557a9ac074b7e7e0
diff --git a/rild/rild.c b/rild/rild.c
index c554a9f..781db78 100644
--- a/rild/rild.c
+++ b/rild/rild.c
@@ -224,10 +224,9 @@
 
     RLOGD("RIL_register_socket completed");
 
-done:
-
     rilc_thread_pool();
 
+done:
     RLOGD("RIL_Init starting sleep loop");
     while (true) {
         sleep(UINT32_MAX);