summaryrefslogtreecommitdiffstats
path: root/include/rdma/restrack.h
diff options
context:
space:
mode:
authorLeon Romanovsky <leonro@mellanox.com>2019-01-30 11:49:02 +0100
committerJason Gunthorpe <jgg@mellanox.com>2019-01-31 05:34:21 +0100
commit02da37509705d3ba6a58fe4799a0caf6b4baecb0 (patch)
treedd9de824dfaf3976da03df5aa266447834b8e849 /include/rdma/restrack.h
parentRDMA/restrack: Refactor user/kernel restrack additions (diff)
downloadlinux-02da37509705d3ba6a58fe4799a0caf6b4baecb0.tar.xz
linux-02da37509705d3ba6a58fe4799a0caf6b4baecb0.zip
RDMA/core: Use the ops infrastructure to keep all callbacks in one place
As preparation to hide rdma_restrack_root, refactor the code to use the ops structure instead of a special callback which is hidden in rdma_restrack_root. Signed-off-by: Leon Romanovsky <leonro@mellanox.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'include/rdma/restrack.h')
-rw-r--r--include/rdma/restrack.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/include/rdma/restrack.h b/include/rdma/restrack.h
index f756fc48eee5..cc66cc7a11d3 100644
--- a/include/rdma/restrack.h
+++ b/include/rdma/restrack.h
@@ -65,13 +65,6 @@ struct rdma_restrack_root {
* @hash: global database for all resources per-device
*/
DECLARE_HASHTABLE(hash, RDMA_RESTRACK_HASH_BITS);
- /**
- * @fill_res_entry: driver-specific fill function
- *
- * Allows rdma drivers to add their own restrack attributes.
- */
- int (*fill_res_entry)(struct sk_buff *msg,
- struct rdma_restrack_entry *entry);
};
/**