freebsd-dev/sys/dev/mlx4/mlx4_ib
Hans Petter Selasky d92a9e5604 ibcore: Simplify ib_modify_qp_is_ok().
All callers to ib_modify_qp_is_ok() provides enum ib_qp_state makes the
checks of out-of-scope redundant. Let's remove them together with updating
function signature to return boolean result.

While at it remove unused "ll" parameter from ib_modify_qp_is_ok().

Linux commit:
19b1f54099b6ee334acbfbcfbdffd1d1f057216d
d31131bba5a1630304c55ea775c48cc84912ab59

MFC after:	1 week
Reviewed by:	kib
Sponsored by:	Mellanox Technologies // NVIDIA Networking
2021-07-12 14:22:32 +02:00
..
mlx4_ib_ah.c mlx4: replace LinuxKPI macros with ifnet functions 2021-05-27 12:26:01 +00:00
mlx4_ib_alias_GUID.c
mlx4_ib_cm.c
mlx4_ib_cq.c
mlx4_ib_doorbell.c
mlx4_ib_mad.c Update mlx4ib(4) to Linux 4.9. 2017-11-13 10:49:18 +00:00
mlx4_ib_main.c ibcore: Introduce ib_port_phys_state enum. 2021-07-12 14:22:31 +02:00
mlx4_ib_mcg.c
mlx4_ib_mr.c
mlx4_ib_qp.c ibcore: Simplify ib_modify_qp_is_ok(). 2021-07-12 14:22:32 +02:00
mlx4_ib_srq.c
mlx4_ib_sysfs.c
mlx4_ib_wc.c
mlx4_ib.h mlx4/OFED: replace the struct net_device with struct ifnet 2021-06-18 21:20:08 +00:00
wc.h