RDMA/iwpm: Remove not-needed reference counting
authorLeon Romanovsky <leonro@nvidia.com>
Fri, 23 Jul 2021 14:08:56 +0000 (17:08 +0300)
committerJason Gunthorpe <jgg@nvidia.com>
Fri, 30 Jul 2021 13:01:40 +0000 (10:01 -0300)
commitbdb0e4e3ff19b6699ab82828412f2fd9ad811b1d
tree12db6083a2d5ea7449257ed30245e21a6ae17ef8
parente677b72a0647249370f2635862bf0241c86f66ad
RDMA/iwpm: Remove not-needed reference counting

iwpm_init() and iwpm_exit() are called only once during iw_cm module
load. This makes whole reference count implementation not needed at all.

Link: https://lore.kernel.org/r/1778ded873ba58c9fadc5bb25038de1cec843bec.1627048781.git.leonro@nvidia.com
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/core/iwpm_util.c
drivers/infiniband/core/iwpm_util.h