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 C501945AF1; Wed, 9 Oct 2024 13:49:36 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9F79140E25; Wed, 9 Oct 2024 13:49:36 +0200 (CEST) Received: from fout-a1-smtp.messagingengine.com (fout-a1-smtp.messagingengine.com [103.168.172.144]) by mails.dpdk.org (Postfix) with ESMTP id B910B4065D for ; Wed, 9 Oct 2024 13:49:34 +0200 (CEST) Received: from phl-compute-01.internal (phl-compute-01.phl.internal [10.202.2.41]) by mailfout.phl.internal (Postfix) with ESMTP id 3469213806BE; Wed, 9 Oct 2024 07:49:34 -0400 (EDT) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-01.internal (MEProxy); Wed, 09 Oct 2024 07:49:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:message-id:mime-version:reply-to:subject:subject:to :to; s=fm2; t=1728474574; x=1728560974; bh=kpBu94v7cfFMZ8DMJgZAR bH/KcaXE3Vcp4WugfnQCxI=; b=jbKrRweRkGBqx/GOcgbsItNXrDxxS06qvSzCG gwMaAqB1rS9zd9dFDNbma7qPZRUYITNB9x06rZWhTN/RAER6jZsFeR/QimE10lmd xEK63R0XLrDT+LZ5ljkgBSoxGhGQPM3Uz44g+GIlmNmIpzzEJC+FFhVlyIEMctUN wcJ6Gt/v66E5Yy7L7IKPPJP6zJ3Tbu/0iw51QUY7YrkX5303pItDxu8YSR+i+Q4g a/7fyimkXUSiyF10GcffEwuD8amBD36MPv2e0kvV0bOKGnB9IoEy3AVI06PDqBrM dYp0ElPN8XrHpeUaTi5bA7K3WEKTnfKjA+VwDJrzlBJPLz5fA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:message-id:mime-version:reply-to:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; t=1728474574; x=1728560974; bh=kpBu94v7cfFMZ8DMJgZARbH/KcaX E3Vcp4WugfnQCxI=; b=jpbA8e1RW+UcKvvLjp8OvIWdqPIn8UgA/77ENfrLJw1l fGZZ0G8UwgF0Denk6L9VYshOpayck+mY5R5rkkaIdKtDdfjfce9pGSW1A+ZCrKD3 NN/Bxe2gMBbvZDvwh9Dzpr5oi5ryRpUDgNSHczuTxeB/1DKTAqMIYVHMQiYWb6sm 72WMPVG7WjMyxqyGpKAqAZlla8nfrnfDiyDx7xU5TV+1qCHdFIWFBQ4G1GuNCLtD vqZTVg33a6EM+0+mpDHq3p5+eQaF5CzHGz5ifRFn1bY9CGquCHOAI+/sw4m9MH8w PZXA7YbRhhTOLE7HhlFHAxXUP0ptgvvrJ7Rv4lG4nQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrvdeffedggeejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnh htshculddquddttddmnecujfgurhephffvvefufffkofgggfestdekredtredttdenucfh rhhomhepvfhhohhmrghsucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghloh hnrdhnvghtqeenucggtffrrghtthgvrhhnpeevveefveeiiefhtedukeegkeelieegffeu keevudetueffieduveetiedukeefleenucevlhhushhtvghrufhiiigvpedtnecurfgrrh grmhepmhgrihhlfhhrohhmpehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtpdhnsggp rhgtphhtthhopeeipdhmohguvgepshhmthhpohhuthdprhgtphhtthhopeguvghvseguph gukhdrohhrghdprhgtphhtthhopehshhgrihgsrhgrnhesrghmrgiiohhnrdgtohhmpdhr tghpthhtohepvghvghgvnhihshesrghmrgiiohhnrdgtohhmpdhrtghpthhtoheprhgsvg hiuggvrhesrghmrgiiohhnrdgtohhmpdhrtghpthhtoheprghmihhtsggvrhhnsegrmhgr iihonhdrtghomhdprhgtphhtthhopegrthhrfigrjhgvvgesrghmrgiiohhnrdgtohhm X-ME-Proxy: Feedback-ID: i47234305:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 9 Oct 2024 07:49:32 -0400 (EDT) From: Thomas Monjalon To: dev@dpdk.org Cc: Shai Brandes , Evgeny Schemeilin , Ron Beider , Amit Bernstein , Wajeeh Atrash Subject: [PATCH] net/ena: remove unused abort macro Date: Wed, 9 Oct 2024 13:49:20 +0200 Message-ID: <20241009114921.1231790-1-thomas@monjalon.net> X-Mailer: git-send-email 2.46.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 The function abort() should be forbidden for drivers and libs. It is not used in ENA, but the rule is enfocred by removing the macro. Signed-off-by: Thomas Monjalon --- drivers/net/ena/base/ena_plat_dpdk.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/net/ena/base/ena_plat_dpdk.h b/drivers/net/ena/base/ena_plat_dpdk.h index 21b96113c7..a41a4e4506 100644 --- a/drivers/net/ena/base/ena_plat_dpdk.h +++ b/drivers/net/ena/base/ena_plat_dpdk.h @@ -63,8 +63,6 @@ typedef uint64_t dma_addr_t; #define ENA_CDESC_RING_SIZE_ALIGNMENT (1 << 12) /* 4K */ -#define ENA_ABORT() abort() - #define ENA_MSLEEP(x) rte_delay_us_sleep(x * 1000) #define ENA_USLEEP(x) rte_delay_us_sleep(x) #define ENA_UDELAY(x) rte_delay_us_block(x) -- 2.46.0