The timer code does not use rte_log.

Signed-off-by: Stephen Hemminger <step...@networkplumber.org>
---
 lib/log/log.c     | 1 -
 lib/log/rte_log.h | 2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/lib/log/log.c b/lib/log/log.c
index b51beb1a7604..4a7ff738750b 100644
--- a/lib/log/log.c
+++ b/lib/log/log.c
@@ -355,7 +355,6 @@ static const struct logtype logtype_strings[] = {
        {RTE_LOGTYPE_MALLOC,     "lib.malloc"},
        {RTE_LOGTYPE_RING,       "lib.ring"},
        {RTE_LOGTYPE_MEMPOOL,    "lib.mempool"},
-       {RTE_LOGTYPE_TIMER,      "lib.timer"},
        {RTE_LOGTYPE_PMD,        "pmd"},
        {RTE_LOGTYPE_HASH,       "lib.hash"},
        {RTE_LOGTYPE_LPM,        "lib.lpm"},
diff --git a/lib/log/rte_log.h b/lib/log/rte_log.h
index 4ed11a80069a..bc9d1fc8f106 100644
--- a/lib/log/rte_log.h
+++ b/lib/log/rte_log.h
@@ -30,7 +30,7 @@ extern "C" {
 #define RTE_LOGTYPE_MALLOC     1 /**< Log related to malloc. */
 #define RTE_LOGTYPE_RING       2 /**< Log related to ring. */
 #define RTE_LOGTYPE_MEMPOOL    3 /**< Log related to mempool. */
-#define RTE_LOGTYPE_TIMER      4 /**< Log related to timers. */
+                                /* was RTE_LOGTYPE_TIMER */
 #define RTE_LOGTYPE_PMD        5 /**< Log related to poll mode driver. */
 #define RTE_LOGTYPE_HASH       6 /**< Log related to hash table. */
 #define RTE_LOGTYPE_LPM        7 /**< Log related to LPM. */
-- 
2.39.2

Reply via email to