RDMA/ocrdma: Simplify code in 'ocrdma_search_mmap()'
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Thu, 25 Nov 2021 19:34:11 +0000 (20:34 +0100)
committerJason Gunthorpe <jgg@nvidia.com>
Mon, 29 Nov 2021 18:33:55 +0000 (14:33 -0400)
commite02d9cc2f8581ff39d13e0c01c98131bbac70206
treea26cbcd6946443747e0b231f4a21c1f2571f95f6
parent27c2f5029ae33a6f5b7da935f42fda907df0d00c
RDMA/ocrdma: Simplify code in 'ocrdma_search_mmap()'

'pd_bitmap' does not need to be const. Without it, it is possible to use
this variable when calling '__set_bit()'. This is less verbose and more
logical.

Link: https://lore.kernel.org/r/ec5cab9611ba062adea4cf8c98a63406ed510a71.1637868728.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/hw/ocrdma/ocrdma_verbs.c