RDMA/core: Remove refcount from struct ib_mad_snoop_private
authorJason Gunthorpe <jgg@nvidia.com>
Fri, 28 May 2021 09:37:34 +0000 (17:37 +0800)
committerJason Gunthorpe <jgg@nvidia.com>
Tue, 8 Jun 2021 17:43:28 +0000 (14:43 -0300)
The member is never used, delete it.

Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/core/mad_priv.h

index 4aa16b3..1b7445a 100644 (file)
@@ -115,7 +115,6 @@ struct ib_mad_snoop_private {
        struct ib_mad_qp_info *qp_info;
        int snoop_index;
        int mad_snoop_flags;
-       atomic_t refcount;
        struct completion comp;
 };