RDMA/rtrs-clt: Use bitmap_empty()
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Fri, 8 Jul 2022 16:47:37 +0000 (18:47 +0200)
committerLeon Romanovsky <leonro@nvidia.com>
Mon, 18 Jul 2022 09:03:28 +0000 (12:03 +0300)
commitfc4114736f5a4d642ed9d2a2062b3701e0ffc991
tree713f61b9138ec240113d37c543d84deefd80022e
parente471eedd94d95a183ed57f5875ec1a476f1442a4
RDMA/rtrs-clt: Use bitmap_empty()

Use bitmap_empty() instead of hand-writing them.

Link: https://lore.kernel.org/r/b71ccfaf4a47dee8e1ad373604c861479d499b6b.1657298747.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Acked-by: Jack Wang <jinpu.wang@ionos.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
drivers/infiniband/ulp/rtrs/rtrs-clt.c