net/nfp: remove compile time log
authorFerruh Yigit <ferruh.yigit@intel.com>
Tue, 18 May 2021 10:41:15 +0000 (11:41 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 16 Aug 2021 14:03:30 +0000 (16:03 +0200)
Logging should be converted to dynamic log.

Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
Reviewed-by: Heinrich Kuhn <heinrich.kuhn@netronome.com>
drivers/net/nfp/nfp_net_logs.h

index 27dd876..76cc94c 100644 (file)
@@ -30,14 +30,7 @@ extern int nfp_logtype_init;
 #define ASSERT(x) do { } while (0)
 #endif
 
-#define RTE_LIBRTE_NFP_NET_DEBUG_CPP
-
-#ifdef RTE_LIBRTE_NFP_NET_DEBUG_CPP
-#define PMD_CPP_LOG(level, fmt, args...) \
-       RTE_LOG(level, PMD, "%s(): " fmt "\n", __func__, ## args)
-#else
 #define PMD_CPP_LOG(level, fmt, args...) do { } while (0)
-#endif
 
 extern int nfp_logtype_driver;
 #define PMD_DRV_LOG(level, fmt, args...) \