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

RDS: IB: Remove unused declarations

Commit f4f943c958a2 ("RDS: IB: ack more receive completions to improve performance")
removed rds_ib_recv_tasklet_fn() implementation but not the declaration.
And commit ec16227e1414 ("RDS/IB: Infiniband transport") declared but never implemented
other functions.

Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Reviewed-by: Allison Henderson <allison.henderson@oracle.com>
Link: https://patch.msgid.link/20240731063630.3592046-1-yuehaibing@huawei.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

authored by

Yue Haibing and committed by
Jakub Kicinski
f9c141fc 887b1d1a

-4
-4
net/rds/ib.h
··· 369 369 void rds_ib_conn_free(void *arg); 370 370 int rds_ib_conn_path_connect(struct rds_conn_path *cp); 371 371 void rds_ib_conn_path_shutdown(struct rds_conn_path *cp); 372 - void rds_ib_state_change(struct sock *sk); 373 - int rds_ib_listen_init(void); 374 - void rds_ib_listen_stop(void); 375 372 __printf(2, 3) 376 373 void __rds_ib_conn_error(struct rds_connection *conn, const char *, ...); 377 374 int rds_ib_cm_handle_connect(struct rdma_cm_id *cm_id, ··· 399 402 int rds_ib_inc_copy_to_user(struct rds_incoming *inc, struct iov_iter *to); 400 403 void rds_ib_recv_cqe_handler(struct rds_ib_connection *ic, struct ib_wc *wc, 401 404 struct rds_ib_ack_state *state); 402 - void rds_ib_recv_tasklet_fn(unsigned long data); 403 405 void rds_ib_recv_init_ring(struct rds_ib_connection *ic); 404 406 void rds_ib_recv_clear_ring(struct rds_ib_connection *ic); 405 407 void rds_ib_recv_init_ack(struct rds_ib_connection *ic);