mbox series

[0/5] mlx5: remove useless constants

Message ID 20251102155617.4001783-1-thomas@monjalon.net (mailing list archive)
Headers
Series mlx5: remove useless constants |

Message

Thomas Monjalon Nov. 2, 2025, 3:52 p.m. UTC
This is a cleanup of #define constants which are not used.
Some unused constants are kept if they are part of a bitmap,
or can serve as HW documentation.

Thomas Monjalon (5):
  vdpa/mlx5: remove unused constant
  crypto/mlx5: remove unused constants
  regex/mlx5: remove useless constants
  common/mlx5: remove useless constants
  net/mlx5: remove useless constants

 drivers/common/mlx5/linux/mlx5_nl.c         |  2 --
 drivers/common/mlx5/mlx5_common.h           |  3 ---
 drivers/common/mlx5/windows/mlx5_win_defs.h |  2 --
 drivers/crypto/mlx5/mlx5_crypto.c           |  2 --
 drivers/net/mlx5/hws/mlx5dr_definer.c       |  2 --
 drivers/net/mlx5/mlx5.c                     |  3 ---
 drivers/net/mlx5/mlx5.h                     |  3 ---
 drivers/net/mlx5/mlx5_defs.h                |  6 ------
 drivers/net/mlx5/mlx5_flow.h                | 17 -----------------
 drivers/net/mlx5/mlx5_rxtx_vec.h            |  7 -------
 drivers/net/mlx5/mlx5_utils.h               |  3 ---
 drivers/net/mlx5/windows/mlx5_os.h          |  2 --
 drivers/regex/mlx5/mlx5_regex_fastpath.c    |  1 -
 drivers/regex/mlx5/mlx5_rxp.c               |  2 --
 drivers/regex/mlx5/mlx5_rxp.h               | 20 --------------------
 drivers/vdpa/mlx5/mlx5_vdpa.h               |  1 -
 16 files changed, 76 deletions(-)
  

Comments

Thomas Monjalon Nov. 5, 2025, 9:37 p.m. UTC | #1
02/11/2025 16:52, Thomas Monjalon:
> This is a cleanup of #define constants which are not used.
> Some unused constants are kept if they are part of a bitmap,
> or can serve as HW documentation.
> 
> Thomas Monjalon (5):
>   vdpa/mlx5: remove unused constant
>   crypto/mlx5: remove unused constants
>   regex/mlx5: remove useless constants
>   common/mlx5: remove useless constants
>   net/mlx5: remove useless constants

This last patch is split for constants and macros with parameters.

Applied