ipc: unlock on failure
[dpdk.git] / lib / librte_eal / common / eal_common_log.c
index 8181189..c714a4b 100644 (file)
@@ -335,9 +335,7 @@ static const struct logtype logtype_strings[] = {
 };
 
 /* Logging should be first initializer (before drivers and bus) */
-RTE_INIT_PRIO(rte_log_init, LOG);
-static void
-rte_log_init(void)
+RTE_INIT_PRIO(rte_log_init, LOG)
 {
        uint32_t i;