From 6448508076bf1e2b9133b34e51c7170b335b9abf Mon Sep 17 00:00:00 2001 From: Jason Gunthorpe Date: Fri, 28 May 2021 17:37:34 +0800 Subject: [PATCH] RDMA/core: Remove refcount from struct ib_mad_snoop_private The member is never used, delete it. Signed-off-by: Jason Gunthorpe --- drivers/infiniband/core/mad_priv.h | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/infiniband/core/mad_priv.h b/drivers/infiniband/core/mad_priv.h index 4aa16b35dad0..1b7445a6f671 100644 --- a/drivers/infiniband/core/mad_priv.h +++ b/drivers/infiniband/core/mad_priv.h @@ -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; }; -- 2.20.1