Skip to content

Commit 917b7c7

Browse files
committed
net/ena: remove unused abort macro
The function abort() should be forbidden for drivers and libs. It is not used in ENA, but the rule is enforced by removing the macro. Signed-off-by: Thomas Monjalon <[email protected]> Acked-by: Shai Brandes <[email protected]>
1 parent f852c95 commit 917b7c7

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

drivers/net/ena/base/ena_plat_dpdk.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,6 @@ typedef uint64_t dma_addr_t;
6363

6464
#define ENA_CDESC_RING_SIZE_ALIGNMENT (1 << 12) /* 4K */
6565

66-
#define ENA_ABORT() abort()
67-
6866
#define ENA_MSLEEP(x) rte_delay_us_sleep(x * 1000)
6967
#define ENA_USLEEP(x) rte_delay_us_sleep(x)
7068
#define ENA_UDELAY(x) rte_delay_us_block(x)

0 commit comments

Comments
 (0)