diff options
author | Leon Romanovsky <leonro@mellanox.com> | 2017-06-18 15:51:16 +0300 |
---|---|---|
committer | Leon Romanovsky <leon@kernel.org> | 2017-08-10 13:19:03 +0300 |
commit | ff61c425c1c563f1d688d59caf3b18a395cbf9c4 (patch) | |
tree | 2062a53ee7ba17723c15af1fa507597acec26867 /drivers/infiniband/core/sa_query.c | |
parent | RDMA/netlink: Rename and remove redundant parameter from ibnl_multicast (diff) | |
download | linux-dev-ff61c425c1c563f1d688d59caf3b18a395cbf9c4.tar.xz linux-dev-ff61c425c1c563f1d688d59caf3b18a395cbf9c4.zip |
RDMA/netlink: Simplify and rename ibnl_chk_listeners
Make ibnl_chk_listeners function to be one line by removing
unneeded comparison.
Rename that function to be complaint to other functions in RDMA netlink.
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Reviewed-by: Steve Wise <swise@opengridcomputing.com>
Diffstat (limited to 'drivers/infiniband/core/sa_query.c')
-rw-r--r-- | drivers/infiniband/core/sa_query.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/core/sa_query.c b/drivers/infiniband/core/sa_query.c index 977f64d0e983..2cc85c2b74b7 100644 --- a/drivers/infiniband/core/sa_query.c +++ b/drivers/infiniband/core/sa_query.c @@ -1418,7 +1418,7 @@ static int send_mad(struct ib_sa_query *query, int timeout_ms, gfp_t gfp_mask) if ((query->flags & IB_SA_ENABLE_LOCAL_SERVICE) && (!(query->flags & IB_SA_QUERY_OPA))) { - if (!ibnl_chk_listeners(RDMA_NL_GROUP_LS)) { + if (!rdma_nl_chk_listeners(RDMA_NL_GROUP_LS)) { if (!ib_nl_make_request(query, gfp_mask)) return id; } |