RDMA/hfi1: Remove hfi1_create_qp declaration
authorKamal Heib <kamalheib1@gmail.com>
Mon, 22 Jun 2020 09:47:09 +0000 (12:47 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Mon, 22 Jun 2020 17:49:27 +0000 (14:49 -0300)
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>
drivers/infiniband/hw/hfi1/qp.h

index b670321..b0d053d 100644 (file)
@@ -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