RDMA/netlink: Simplify and rename ibnl_chk_listeners
authorLeon Romanovsky <leonro@mellanox.com>
Sun, 18 Jun 2017 12:51:16 +0000 (15:51 +0300)
committerLeon Romanovsky <leon@kernel.org>
Thu, 10 Aug 2017 10:19:03 +0000 (13:19 +0300)
commitff61c425c1c563f1d688d59caf3b18a395cbf9c4
tree2062a53ee7ba17723c15af1fa507597acec26867
parent4d7f693af0c9d0d6940ff36f5adca1adfa0e7e6e
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>
drivers/infiniband/core/addr.c
drivers/infiniband/core/netlink.c
drivers/infiniband/core/sa_query.c
include/rdma/rdma_netlink.h