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 CBD754592F; Sat, 7 Sep 2024 16:55:07 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6CA6340614; Sat, 7 Sep 2024 16:54:57 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mails.dpdk.org (Postfix) with ESMTP id F295840609 for ; Sat, 7 Sep 2024 16:54:55 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1725720895; 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=G6XruINmZ01dMAWyEqdnSnxcLvXpuUijfnFisMyywjojXs2Th+SPt/4QKVnEesW36AcEyd 3wy0NQQHZPdgo25Cs2hiwcGk202e8agh7MwOweUFCZqwJRNiLb+O8hNcIKe5VSE3ROpWl+ Ulhl4tfoM8FO9OA+6UOjbmkIM/HU4YU= Received: from mx-prod-mc-02.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-436-WbIzbzOwOZ6UHFhneStecg-1; Sat, 07 Sep 2024 10:54:54 -0400 X-MC-Unique: WbIzbzOwOZ6UHFhneStecg-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-02.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 283211956096; Sat, 7 Sep 2024 14:54:53 +0000 (UTC) Received: from dmarchan.redhat.com (unknown [10.45.226.65]) by mx-prod-int-04.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id 6FBDA1956054; Sat, 7 Sep 2024 14:54:51 +0000 (UTC) From: David Marchand To: dev@dpdk.org Cc: Hemant Agrawal , Sachin Saxena Subject: [PATCH 03/11] net/dpaa: remove broken debug macros Date: Sat, 7 Sep 2024 16:54:23 +0200 Message-ID: <20240907145433.1479091-4-david.marchand@redhat.com> In-Reply-To: <20240907145433.1479091-1-david.marchand@redhat.com> References: <20240907145433.1479091-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