diff options
author | Leon Romanovsky <leonro@mellanox.com> | 2018-03-11 13:51:35 +0200 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2018-03-14 15:34:25 -0400 |
commit | 19b1f54099b6ee334acbfbcfbdffd1d1f057216d (patch) | |
tree | 02129124d75ec5d3de55e5f674a4713cc554ff0b /drivers/infiniband/core/umem_odp.c | |
parent | RDMA/pvrdma: Properly annotate QP states (diff) | |
download | linux-dev-19b1f54099b6ee334acbfbcfbdffd1d1f057216d.tar.xz linux-dev-19b1f54099b6ee334acbfbcfbdffd1d1f057216d.zip |
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>
Diffstat (limited to 'drivers/infiniband/core/umem_odp.c')
0 files changed, 0 insertions, 0 deletions