diff options
author | Leon Romanovsky <leonro@nvidia.com> | 2021-07-23 17:08:56 +0300 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2021-07-30 10:01:40 -0300 |
commit | bdb0e4e3ff19b6699ab82828412f2fd9ad811b1d (patch) | |
tree | 12db6083a2d5ea7449257ed30245e21a6ae17ef8 /drivers/infiniband/core/iwpm_util.h | |
parent | e677b72a0647249370f2635862bf0241c86f66ad (diff) | |
download | linux-bdb0e4e3ff19b6699ab82828412f2fd9ad811b1d.tar.gz linux-bdb0e4e3ff19b6699ab82828412f2fd9ad811b1d.tar.bz2 linux-bdb0e4e3ff19b6699ab82828412f2fd9ad811b1d.zip |
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>
Diffstat (limited to 'drivers/infiniband/core/iwpm_util.h')
-rw-r--r-- | drivers/infiniband/core/iwpm_util.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/infiniband/core/iwpm_util.h b/drivers/infiniband/core/iwpm_util.h index e201835de733..e2eacc017078 100644 --- a/drivers/infiniband/core/iwpm_util.h +++ b/drivers/infiniband/core/iwpm_util.h @@ -90,7 +90,6 @@ struct iwpm_remote_info { }; struct iwpm_admin_data { - refcount_t refcount; atomic_t nlmsg_seq; int client_list[RDMA_NL_NUM_CLIENTS]; u32 reg_list[RDMA_NL_NUM_CLIENTS]; |