summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKamal Heib <kamalheib1@gmail.com>2020-06-22 12:47:09 +0300
committerJason Gunthorpe <jgg@mellanox.com>2020-06-22 14:49:27 -0300
commitd5fdffe23995895a2141bcc0b89117e8cb867ccf (patch)
tree750c0daa942c2c83a8c24969c7aeb141cca63f28
parent90cdff90dfb507b36128a4b2bcf4721d441cd697 (diff)
downloadlinux-stable-d5fdffe23995895a2141bcc0b89117e8cb867ccf.tar.gz
linux-stable-d5fdffe23995895a2141bcc0b89117e8cb867ccf.tar.bz2
linux-stable-d5fdffe23995895a2141bcc0b89117e8cb867ccf.zip
RDMA/hfi1: Remove hfi1_create_qp declaration
The function isn't implemented - delete the declaration. Link: https://lore.kernel.org/r/20200622094709.12981-1-kamalheib1@gmail.com Signed-off-by: Kamal Heib <kamalheib1@gmail.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
-rw-r--r--drivers/infiniband/hw/hfi1/qp.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/drivers/infiniband/hw/hfi1/qp.h b/drivers/infiniband/hw/hfi1/qp.h
index b670321365d3..b0d053d12129 100644
--- a/drivers/infiniband/hw/hfi1/qp.h
+++ b/drivers/infiniband/hw/hfi1/qp.h
@@ -113,20 +113,6 @@ static inline void clear_ahg(struct rvt_qp *qp)
}
/**
- * hfi1_create_qp - create a queue pair for a device
- * @ibpd: the protection domain who's device we create the queue pair for
- * @init_attr: the attributes of the queue pair
- * @udata: user data for libibverbs.so
- *
- * Returns the queue pair on success, otherwise returns an errno.
- *
- * Called by the ib_create_qp() core verbs function.
- */
-struct ib_qp *hfi1_create_qp(struct ib_pd *ibpd,
- struct ib_qp_init_attr *init_attr,
- struct ib_udata *udata);
-
-/**
* hfi1_qp_wakeup - wake up on the indicated event
* @qp: the QP
* @flag: flag the qp on which the qp is stalled