From: Ferruh Yigit Date: Tue, 18 May 2021 10:41:15 +0000 (+0100) Subject: net/nfp: remove compile time log X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=23b096a374f6e43c91601319f53c27dfc944efc0;p=dpdk.git net/nfp: remove compile time log Logging should be converted to dynamic log. Signed-off-by: Ferruh Yigit Reviewed-by: Heinrich Kuhn --- diff --git a/drivers/net/nfp/nfp_net_logs.h b/drivers/net/nfp/nfp_net_logs.h index 27dd87611b..76cc94cb65 100644 --- a/drivers/net/nfp/nfp_net_logs.h +++ b/drivers/net/nfp/nfp_net_logs.h @@ -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...) \