Skip to content

Commit 2d10b05

Browse files
Yue Haibingrleon
authored andcommitted
RDMA/cxgb4: Remove unused declarations
Since commit be4c9ba ("MAINTAINERS: Add cxgb4 and iw_cxgb4 entries") c4iw_post_terminate() declaration is not used anymore. And other declarations were never implemented since introduction in commit cfdda9d ("RDMA/cxgb4: Add driver for Chelsio T4 RNIC"). Signed-off-by: Yue Haibing <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Leon Romanovsky <[email protected]>
1 parent e5bba9e commit 2d10b05

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

drivers/infiniband/hw/cxgb4/iw_cxgb4.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -972,15 +972,13 @@ u32 c4iw_get_resource(struct c4iw_id_table *id_table);
972972
void c4iw_put_resource(struct c4iw_id_table *id_table, u32 entry);
973973
int c4iw_init_resource(struct c4iw_rdev *rdev, u32 nr_tpt,
974974
u32 nr_pdid, u32 nr_srqt);
975-
int c4iw_init_ctrl_qp(struct c4iw_rdev *rdev);
976975
int c4iw_pblpool_create(struct c4iw_rdev *rdev);
977976
int c4iw_rqtpool_create(struct c4iw_rdev *rdev);
978977
int c4iw_ocqp_pool_create(struct c4iw_rdev *rdev);
979978
void c4iw_pblpool_destroy(struct c4iw_rdev *rdev);
980979
void c4iw_rqtpool_destroy(struct c4iw_rdev *rdev);
981980
void c4iw_ocqp_pool_destroy(struct c4iw_rdev *rdev);
982981
void c4iw_destroy_resource(struct c4iw_resource *rscp);
983-
int c4iw_destroy_ctrl_qp(struct c4iw_rdev *rdev);
984982
void c4iw_register_device(struct work_struct *work);
985983
void c4iw_unregister_device(struct c4iw_dev *dev);
986984
int __init c4iw_cm_init(void);
@@ -1042,8 +1040,6 @@ int c4iw_ep_disconnect(struct c4iw_ep *ep, int abrupt, gfp_t gfp);
10421040
int c4iw_flush_rq(struct t4_wq *wq, struct t4_cq *cq, int count);
10431041
int c4iw_flush_sq(struct c4iw_qp *qhp);
10441042
int c4iw_ev_handler(struct c4iw_dev *rnicp, u32 qid);
1045-
u16 c4iw_rqes_posted(struct c4iw_qp *qhp);
1046-
int c4iw_post_terminate(struct c4iw_qp *qhp, struct t4_cqe *err_cqe);
10471043
u32 c4iw_get_cqid(struct c4iw_rdev *rdev, struct c4iw_dev_ucontext *uctx);
10481044
void c4iw_put_cqid(struct c4iw_rdev *rdev, u32 qid,
10491045
struct c4iw_dev_ucontext *uctx);

0 commit comments

Comments
 (0)