Skip to content

Commit

Permalink
net/ena: remove unused abort macro
Browse files Browse the repository at this point in the history
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>
Acked-by: Shai Brandes <shaibran@amazon.com>
  • Loading branch information
tmonjalo committed Oct 9, 2024
1 parent f852c95 commit 486a2a1
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/net/ena/base/ena_plat_dpdk.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 486a2a1

Please sign in to comment.