summaryrefslogtreecommitdiff
path: root/include/rdma/ib_cm.h
diff options
context:
space:
mode:
authorJason Gunthorpe <jgg@nvidia.com>2020-08-05 20:28:52 +0300
committerJason Gunthorpe <jgg@nvidia.com>2020-08-18 21:43:07 +0300
commitc0f4979e90eaa4cd4a63ae95fbf8e65a85150a5f (patch)
treedad391dce808fe92b06a24663aeff36cc8ed8c64 /include/rdma/ib_cm.h
parentc97119b6d3135fe173751cf8bf53136f322bd506 (diff)
downloadlinux-c0f4979e90eaa4cd4a63ae95fbf8e65a85150a5f.tar.xz
RDMA/cm: Remove unused cm_class
Previous commits removed all references to the /sys/class/infiniband_cm/ directory represented by the cm_class symbol. Remove the directory and cm_class. Fixes: a1a8e4a85cf7 ("rdma: Delete the ib_ucm module") Link: https://lore.kernel.org/r/0-v1-90096a98c476+205-remove_cm_leftovers_jgg@nvidia.com Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'include/rdma/ib_cm.h')
-rw-r--r--include/rdma/ib_cm.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/rdma/ib_cm.h b/include/rdma/ib_cm.h
index 382427add677..e23eb357b761 100644
--- a/include/rdma/ib_cm.h
+++ b/include/rdma/ib_cm.h
@@ -14,9 +14,6 @@
#include <rdma/ib_sa.h>
#include <rdma/rdma_cm.h>
-/* ib_cm and ib_user_cm modules share /sys/class/infiniband_cm */
-extern struct class cm_class;
-
enum ib_cm_state {
IB_CM_IDLE,
IB_CM_LISTEN,