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 CCE144596C; Thu, 12 Sep 2024 10:27:18 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8274440ED8; Thu, 12 Sep 2024 10:27:11 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mails.dpdk.org (Postfix) with ESMTP id 44B7C40ED3 for ; Thu, 12 Sep 2024 10:27:10 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1726129629; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=i00y+eHEnVzVHNnlbqLEBo/GIbb+LdbzobssJfNoBrY=; b=J6ua51PBtJpeoKb1jujffr/WAers04L26b5/MWDKfv3o5x9S5QkNA1FL7pspChxgI5M0VV ZErqZqxUuUvqphnh2tf7swpoiOIMNQEsc1qX6UxZj/iXeDjWkGaCnCi3r3F6NaKxvUeBFu fF5LNnhi9418/yoLpTt2+p94oSWCD+Q= Received: from mx-prod-mc-05.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-421-QU9JabGsO_WfN5i-1ofn4Q-1; Thu, 12 Sep 2024 04:27:04 -0400 X-MC-Unique: QU9JabGsO_WfN5i-1ofn4Q-1 Received: from mx-prod-int-04.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-04.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.40]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-05.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id B06D41956048; Thu, 12 Sep 2024 08:27:03 +0000 (UTC) Received: from dmarchan.redhat.com (unknown [10.45.224.230]) by mx-prod-int-04.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id 491B619560AA; Thu, 12 Sep 2024 08:27:02 +0000 (UTC) From: David Marchand To: dev@dpdk.org Cc: Hemant Agrawal , Sachin Saxena Subject: [PATCH v2 03/14] net/dpaa: remove broken debug macros Date: Thu, 12 Sep 2024 10:26:29 +0200 Message-ID: <20240912082643.1532679-4-david.marchand@redhat.com> In-Reply-To: <20240912082643.1532679-1-david.marchand@redhat.com> References: <20240907145433.1479091-1-david.marchand@redhat.com> <20240912082643.1532679-1-david.marchand@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.0 on 10.30.177.40 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII"; x-default=true 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 Those debug macros never worked as existing callers never passed a 'level' argument. Remove them. Signed-off-by: David Marchand --- drivers/net/dpaa/fmlib/fm_ext.h | 21 ++------------------- 1 file changed, 2 insertions(+), 19 deletions(-) diff --git a/drivers/net/dpaa/fmlib/fm_ext.h b/drivers/net/dpaa/fmlib/fm_ext.h index 8e7153bdaf..4666fa3b0b 100644 --- a/drivers/net/dpaa/fmlib/fm_ext.h +++ b/drivers/net/dpaa/fmlib/fm_ext.h @@ -15,25 +15,8 @@ #define MODULE_FM 0x00010000 #define __ERR_MODULE__ MODULE_FM -/* #define FM_LIB_DBG */ - -#if defined(FM_LIB_DBG) - #define _fml_dbg(fmt, args...) \ - rte_log(RTE_LOG_ ## level, dpaa_logtype_pmd, "fmlib:%s(): " fmt "\n", \ - __func__, ##args) -#else - #define _fml_dbg(arg...) -#endif - -/*#define FM_IOCTL_DBG*/ - -#if defined(FM_IOCTL_DBG) - #define _fm_ioctl_dbg(fmt, args...) \ - rte_log(RTE_LOG_ ## level, dpaa_logtype_pmd, "fmioc:%s(): " fmt "\n", \ - __func__, ##args) -#else - #define _fm_ioctl_dbg(arg...) -#endif +#define _fml_dbg(...) +#define _fm_ioctl_dbg(...) /* * @Group lnx_ioctl_ncsw_grp NetCommSw Linux User-Space (IOCTL) API -- 2.46.0