aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-cmp.c
diff options
context:
space:
mode:
authorGal Pressman <[email protected]>2019-02-06 15:45:35 +0200
committerJason Gunthorpe <[email protected]>2019-02-07 13:14:55 -0700
commitaf8b38ed0b9d34db940a52418e7849904336ace5 (patch)
tree9b2a0b3457e7ddeba776254583ee1970862ba468 /lib/mpi/mpi-cmp.c
parent1a7a05e88fa0e4e168f83585d1bb1937197a9745 (diff)
IB/mlx5: Simplify WQE count power of two check
Use is_power_of_2() instead of hard coding it in the driver. While at it, fix the meaningless error print. Signed-off-by: Gal Pressman <[email protected]> Acked-by: Leon Romanovsky <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions