opnsense-src/sys/dev/mthca
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
..
mthca_allocator.c
mthca_av.c
mthca_catas.c
mthca_cmd.c mlx4, mthca: Silence warnings about no-op alignment operations 2021-02-11 10:16:59 -05:00
mthca_cmd.h
mthca_config_reg.h
mthca_cq.c
mthca_dev.h
mthca_doorbell.h
mthca_eq.c
mthca_mad.c mthca: clean up empty lines in .c and .h files 2020-09-01 22:06:07 +00:00
mthca_main.c
mthca_mcg.c
mthca_memfree.c
mthca_memfree.h mlx4, mthca: Silence warnings about no-op alignment operations 2021-02-11 10:16:59 -05:00
mthca_mr.c mthca: clean up empty lines in .c and .h files 2020-09-01 22:06:07 +00:00
mthca_pd.c
mthca_profile.c
mthca_profile.h
mthca_provider.c
mthca_provider.h
mthca_qp.c ibcore: Simplify ib_modify_qp_is_ok(). 2021-07-12 14:22:32 +02:00
mthca_reset.c
mthca_srq.c
mthca_uar.c
mthca_user.h
mthca_wqe.h