commit | 19b1f54099b6ee334acbfbcfbdffd1d1f057216d | [log] [tgz] |
---|---|---|
author | Leon Romanovsky <leonro@mellanox.com> | Sun Mar 11 13:51:35 2018 +0200 |
committer | Doug Ledford <dledford@redhat.com> | Wed Mar 14 15:34:25 2018 -0400 |
tree | 02129124d75ec5d3de55e5f674a4713cc554ff0b | |
parent | fbf1795c969ae81a0c292ca0ee0baa944da4ede3 [diff] |
RDMA/verbs: Simplify modify QP check 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. Signed-off-by: Leon Romanovsky <leonro@mellanox.com> Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com> Signed-off-by: Doug Ledford <dledford@redhat.com>