diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2021-11-25 20:34:11 +0100 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2021-11-29 19:33:55 +0100 |
commit | e02d9cc2f8581ff39d13e0c01c98131bbac70206 (patch) | |
tree | a26cbcd6946443747e0b231f4a21c1f2571f95f6 /kernel/smp.c | |
parent | RDMA/ocrdma: Use bitmap_zalloc() when applicable (diff) | |
download | linux-e02d9cc2f8581ff39d13e0c01c98131bbac70206.tar.xz linux-e02d9cc2f8581ff39d13e0c01c98131bbac70206.zip |
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>
Diffstat (limited to 'kernel/smp.c')
0 files changed, 0 insertions, 0 deletions