service: fix loops to always scan all services
[dpdk.git] / lib / librte_eal / common / eal_common_tailqs.c
index bb08ec8..55955f9 100644 (file)
@@ -46,7 +46,6 @@
 #include <rte_eal_memconfig.h>
 #include <rte_per_lcore.h>
 #include <rte_lcore.h>
-#include <rte_memory.h>
 #include <rte_atomic.h>
 #include <rte_branch_prediction.h>
 #include <rte_log.h>
@@ -188,8 +187,7 @@ rte_eal_tailqs_init(void)
                if (t->head == NULL) {
                        RTE_LOG(ERR, EAL,
                                "Cannot initialize tailq: %s\n", t->name);
-                       /* no need to TAILQ_REMOVE, we are going to panic in
-                        * rte_eal_init() */
+                       /* TAILQ_REMOVE not needed, error is already fatal */
                        goto fail;
                }
        }