linux-rdma.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH for-next] RDMA/hfi1: Remove hfi1_create_qp declaration
@ 2020-06-22  9:47 Kamal Heib
  2020-06-22 17:55 ` Jason Gunthorpe
  0 siblings, 1 reply; 2+ messages in thread
From: Kamal Heib @ 2020-06-22  9:47 UTC (permalink / raw)
  To: linux-rdma
  Cc: Dennis Dalessandro, Mike Marciniszyn, Jason Gunthorpe,
	Doug Ledford, Kamal Heib

The function isn't implemented - delete the declaration.

Signed-off-by: Kamal Heib <kamalheib1@gmail.com>
---
 drivers/infiniband/hw/hfi1/qp.h | 14 --------------
 1 file changed, 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
@@ -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
-- 
2.25.4


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH for-next] RDMA/hfi1: Remove hfi1_create_qp declaration
  2020-06-22  9:47 [PATCH for-next] RDMA/hfi1: Remove hfi1_create_qp declaration Kamal Heib
@ 2020-06-22 17:55 ` Jason Gunthorpe
  0 siblings, 0 replies; 2+ messages in thread
From: Jason Gunthorpe @ 2020-06-22 17:55 UTC (permalink / raw)
  To: Kamal Heib; +Cc: linux-rdma, Dennis Dalessandro, Mike Marciniszyn, Doug Ledford

On Mon, Jun 22, 2020 at 12:47:09PM +0300, Kamal Heib wrote:
> The function isn't implemented - delete the declaration.
> 
> Signed-off-by: Kamal Heib <kamalheib1@gmail.com>
> ---
>  drivers/infiniband/hw/hfi1/qp.h | 14 --------------
>  1 file changed, 14 deletions(-)

Applied to for-next, thanks

Jason

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-06-22 17:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-22  9:47 [PATCH for-next] RDMA/hfi1: Remove hfi1_create_qp declaration Kamal Heib
2020-06-22 17:55 ` Jason Gunthorpe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).