DPDK patches and discussions
 help / color / mirror / Atom feed
* [PATCH] net/ena: remove unused abort macro
@ 2024-10-09 11:49 Thomas Monjalon
  2024-10-09 12:08 ` Brandes, Shai
  0 siblings, 1 reply; 3+ messages in thread
From: Thomas Monjalon @ 2024-10-09 11:49 UTC (permalink / raw)
  To: dev
  Cc: Shai Brandes, Evgeny Schemeilin, Ron Beider, Amit Bernstein,
	Wajeeh Atrash

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 <thomas@monjalon.net>
---
 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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-10-09 12:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-10-09 11:49 [PATCH] net/ena: remove unused abort macro Thomas Monjalon
2024-10-09 12:08 ` Brandes, Shai
2024-10-09 12:25   ` Thomas Monjalon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).