Skip to contentSkip to conversation

RDMA/hfi1: Remove hfi1_create_qp declaration

PATCH Applied Kamal Heib 2 participants 2 messages Jun 22, 2020

Subsystems (2)
lore
Share & tools
lore

Kamal Heib

author
#0 lore raw

PATCH 1/1 RDMA/hfi1: Remove hfi1_create_qp declaration

The function isn't implemented - delete the declaration.

---
 drivers/infiniband/hw/hfi1/qp.h | 14 --------------
 1 file changed, 14 deletions(-)
drivers/infiniband/hw/hfi1/qp.h +0 -14
index b670321365d3..b0d053d12129 100644
@@ -112,20 +112,6 @@ static inline void clear_ahg(struct rvt_qp *qp)
 	qp->s_ahgidx = -1;
 }
 
-/**
- * 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
Signature · 1 line
2.25.4
maintainer Applied
#1 lore raw
Quoted 6 lines · Kamal Heib

The function isn't implemented - delete the declaration.

---
 drivers/infiniband/hw/hfi1/qp.h | 14 --------------
 1 file changed, 14 deletions(-)

Applied to for-next, thanks

Jason