diff options
author | Gal Pressman <gal@nvidia.com> | 2022-09-04 13:29:26 +0300 |
---|---|---|
committer | Saeed Mahameed <saeedm@nvidia.com> | 2022-11-12 13:20:19 +0300 |
commit | 9458108040b3c0980a02308ddf30568b9823349c (patch) | |
tree | 0d36a883875f87e7f0bcc494c6cbd89cdc6096e7 /drivers/net/ethernet/mellanox/mlx5/core/wq.h | |
parent | 60551e95a864f2ba82b98defcf85306599341918 (diff) | |
download | linux-9458108040b3c0980a02308ddf30568b9823349c.tar.xz |
net/mlx5e: Use clamp operation instead of open coding it
Replace the min/max operations with a single clamp.
Signed-off-by: Gal Pressman <gal@nvidia.com>
Reviewed-by: Tariq Toukan <tariqt@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx5/core/wq.h')
0 files changed, 0 insertions, 0 deletions