The macro MLX5_BITSHIFT() is not used anymore, and is redundant with RTE_BIT64(), so it can be removed.
Signed-off-by: Thomas Monjalon <tho...@monjalon.net> --- drivers/net/mlx5/mlx5_utils.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/net/mlx5/mlx5_utils.h b/drivers/net/mlx5/mlx5_utils.h index d86a80947e..c44a9d88be 100644 --- a/drivers/net/mlx5/mlx5_utils.h +++ b/drivers/net/mlx5/mlx5_utils.h @@ -22,9 +22,6 @@ #include "mlx5_defs.h" -/* Convert a bit number to the corresponding 64-bit mask */ -#define MLX5_BITSHIFT(v) (UINT64_C(1) << (v)) - /* Save and restore errno around argument evaluation. */ #define ERRNO_SAFE(x) ((errno = (int []){ errno, ((x), 0) }[0])) -- 2.45.0