net/rds: Remove unused function declarations
authorYue Haibing <yuehaibing@huawei.com>
Fri, 11 Aug 2023 09:50:10 +0000 (17:50 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 13 Aug 2023 11:25:42 +0000 (12:25 +0100)
commit2b8893b639e4ad38fa0a941d665e827963ede727
tree835b084c521745ae3777fad08b9c05c1fe27bf60
parent8fe08d70a2b61b35a0a1235c78cf321e7528351f
net/rds: Remove unused function declarations

Commit 39de8281791c ("RDS: Main header file") declared but never implemented
rds_trans_init() and rds_trans_exit(), remove it.
Commit d37c9359056f ("RDS: Move loop-only function to loop.c") removed the
implementation rds_message_inc_free() but not the declaration.

Since commit 55b7ed0b582f ("RDS: Common RDMA transport code")
rds_rdma_conn_connect() is never implemented and used.
rds_tcp_map_seq() is never implemented and used since
commit 70041088e3b9 ("RDS: Add TCP transport to RDS").

Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/rds/rdma_transport.h
net/rds/rds.h
net/rds/tcp.h