Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

RDMA/cxgb4: Remove unused declarations

Since commit be4c9bad9d0e ("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 cfdda9d76436 ("RDMA/cxgb4: Add driver for Chelsio T4 RNIC").

Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
Link: https://patch.msgid.link/20240824091629.3659565-1-yuehaibing@huawei.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>

authored by

Yue Haibing and committed by
Leon Romanovsky
2d10b05b e5bba9e0

-4
-4
drivers/infiniband/hw/cxgb4/iw_cxgb4.h
··· 972 972 void c4iw_put_resource(struct c4iw_id_table *id_table, u32 entry); 973 973 int c4iw_init_resource(struct c4iw_rdev *rdev, u32 nr_tpt, 974 974 u32 nr_pdid, u32 nr_srqt); 975 - int c4iw_init_ctrl_qp(struct c4iw_rdev *rdev); 976 975 int c4iw_pblpool_create(struct c4iw_rdev *rdev); 977 976 int c4iw_rqtpool_create(struct c4iw_rdev *rdev); 978 977 int c4iw_ocqp_pool_create(struct c4iw_rdev *rdev); ··· 979 980 void c4iw_rqtpool_destroy(struct c4iw_rdev *rdev); 980 981 void c4iw_ocqp_pool_destroy(struct c4iw_rdev *rdev); 981 982 void c4iw_destroy_resource(struct c4iw_resource *rscp); 982 - int c4iw_destroy_ctrl_qp(struct c4iw_rdev *rdev); 983 983 void c4iw_register_device(struct work_struct *work); 984 984 void c4iw_unregister_device(struct c4iw_dev *dev); 985 985 int __init c4iw_cm_init(void); ··· 1040 1042 int c4iw_flush_rq(struct t4_wq *wq, struct t4_cq *cq, int count); 1041 1043 int c4iw_flush_sq(struct c4iw_qp *qhp); 1042 1044 int c4iw_ev_handler(struct c4iw_dev *rnicp, u32 qid); 1043 - u16 c4iw_rqes_posted(struct c4iw_qp *qhp); 1044 - int c4iw_post_terminate(struct c4iw_qp *qhp, struct t4_cqe *err_cqe); 1045 1045 u32 c4iw_get_cqid(struct c4iw_rdev *rdev, struct c4iw_dev_ucontext *uctx); 1046 1046 void c4iw_put_cqid(struct c4iw_rdev *rdev, u32 qid, 1047 1047 struct c4iw_dev_ucontext *uctx);