Blob Blame History Raw
From: Leon Romanovsky <leonro@mellanox.com>
Date: Mon, 19 Mar 2018 12:21:43 +0200
Subject: RDMA/verbs: Remove restrack entry from XRCD structure
Patch-mainline: v4.16-rc7
Git-commit: 80cf79ae4f688ead1dca8878990709c0446c3992
References: bsc#1103992 FATE#326009

XRCD object is not implemented in the restrack, so lets remove it.

Fixes: 02d8883f520e ("RDMA/restrack: Add general infrastructure to track RDMA resources")
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Acked-by: Thomas Bogendoerfer <tbogendoerfer@suse.de>
---
 include/rdma/ib_verbs.h |    4 ----
 1 file changed, 4 deletions(-)

--- a/include/rdma/ib_verbs.h
+++ b/include/rdma/ib_verbs.h
@@ -1537,10 +1537,6 @@ struct ib_xrcd {
 
 	struct mutex		tgt_qp_mutex;
 	struct list_head	tgt_qp_list;
-	/*
-	 * Implementation details of the RDMA core, don't use in drivers:
-	 */
-	struct rdma_restrack_entry res;
 };
 
 struct ib_ah {