From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 24864A0A02; Tue, 18 May 2021 12:41:24 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9AA214068E; Tue, 18 May 2021 12:41:23 +0200 (CEST) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by mails.dpdk.org (Postfix) with ESMTP id 4CB9940041 for ; Tue, 18 May 2021 12:41:21 +0200 (CEST) IronPort-SDR: hfeLDnZLEjmCZlCnYxSvPLFq09toT38rFyYy2LnRToIeo8GVmZAEzXCZ70/qJwtkQpgQaEVy43 J+Kf4QKIpDAg== X-IronPort-AV: E=McAfee;i="6200,9189,9987"; a="198728061" X-IronPort-AV: E=Sophos;i="5.82,309,1613462400"; d="scan'208";a="198728061" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 May 2021 03:41:19 -0700 IronPort-SDR: ex8fXUXa5v6AhPBDfkVTUucjb8CWAxW12GrOkrqD6CDVgVEgrjV+vn0bbHvfXl7kIC1jPmL21e qmmbwbTJ6/nQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.82,309,1613462400"; d="scan'208";a="460687631" Received: from silpixa00399752.ir.intel.com (HELO silpixa00399752.ger.corp.intel.com) ([10.237.222.27]) by fmsmga004.fm.intel.com with ESMTP; 18 May 2021 03:41:18 -0700 From: Ferruh Yigit To: Heinrich Kuhn Cc: Ferruh Yigit , dev@dpdk.org Date: Tue, 18 May 2021 11:41:15 +0100 Message-Id: <20210518104115.1427712-1-ferruh.yigit@intel.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH] net/nfp: remove compile time log X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Logging should be converted to dynamic log. Signed-off-by: Ferruh Yigit --- drivers/net/nfp/nfp_net_logs.h | 7 ------- 1 file changed, 7 deletions(-) diff --git a/drivers/net/nfp/nfp_net_logs.h b/drivers/net/nfp/nfp_net_logs.h index 27dd87611b94..76cc94cb6565 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...) \ -- 2.31.1