From: Jason Gunthorpe Date: Fri, 28 May 2021 09:37:34 +0000 (+0800) Subject: RDMA/core: Remove refcount from struct ib_mad_snoop_private X-Git-Tag: v5.15~836^2~113 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6448508076bf1e2b9133b34e51c7170b335b9abf;p=platform%2Fkernel%2Flinux-starfive.git RDMA/core: Remove refcount from struct ib_mad_snoop_private The member is never used, delete it. Signed-off-by: Jason Gunthorpe --- 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; };