diff mbox series

[net-next] rds: tcp: Remove unused declaration rds_tcp_map_seq()

Message ID 20230809144148.13052-1-yuehaibing@huawei.com (mailing list archive)
State Not Applicable
Delegated to: Netdev Maintainers
Headers show
Series [net-next] rds: tcp: Remove unused declaration rds_tcp_map_seq() | expand

Checks

Context Check Description
netdev/series_format success Single patches do not need cover letters
netdev/tree_selection success Clearly marked for net-next
netdev/fixes_present success Fixes tag not required for -next series
netdev/header_inline success No static functions without inline keyword in header files
netdev/build_32bit success Errors and warnings before: 1333 this patch: 1333
netdev/cc_maintainers success CCed 8 of 8 maintainers
netdev/build_clang success Errors and warnings before: 1353 this patch: 1353
netdev/verify_signedoff success Signed-off-by tag matches author and committer
netdev/deprecated_api success None detected
netdev/check_selftest success No net selftest shell script
netdev/verify_fixes success No Fixes tag
netdev/build_allmodconfig_warn success Errors and warnings before: 1356 this patch: 1356
netdev/checkpatch success total: 0 errors, 0 warnings, 0 checks, 7 lines checked
netdev/kdoc success Errors and warnings before: 0 this patch: 0
netdev/source_inline success Was 0 now: 0

Commit Message

Yue Haibing Aug. 9, 2023, 2:41 p.m. UTC
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>
---
 net/rds/tcp.h | 1 -
 1 file changed, 1 deletion(-)

Comments

Simon Horman Aug. 10, 2023, 7:49 p.m. UTC | #1
On Wed, Aug 09, 2023 at 10:41:48PM +0800, Yue Haibing wrote:
> 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>

BTW, I think these rds patches could have been rolled-up
into a patch-set, or perhaps better still squashed into a single patch.
Yue Haibing Aug. 11, 2023, 1:15 a.m. UTC | #2
On 2023/8/11 3:49, Simon Horman wrote:
> On Wed, Aug 09, 2023 at 10:41:48PM +0800, Yue Haibing wrote:
>> 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>
> 
> BTW, I think these rds patches could have been rolled-up
> into a patch-set, or perhaps better still squashed into a single patch.

Thanks, will fold them in v2.
> .
>
diff mbox series

Patch

diff --git a/net/rds/tcp.h b/net/rds/tcp.h
index f8b5930d7b34..053aa7da87ef 100644
--- a/net/rds/tcp.h
+++ b/net/rds/tcp.h
@@ -56,7 +56,6 @@  void rds_tcp_restore_callbacks(struct socket *sock,
 			       struct rds_tcp_connection *tc);
 u32 rds_tcp_write_seq(struct rds_tcp_connection *tc);
 u32 rds_tcp_snd_una(struct rds_tcp_connection *tc);
-u64 rds_tcp_map_seq(struct rds_tcp_connection *tc, u32 seq);
 extern struct rds_transport rds_tcp_transport;
 void rds_tcp_accept_work(struct sock *sk);
 int rds_tcp_laddr_check(struct net *net, const struct in6_addr *addr,