diff mbox series

[net-next] sctp: Remove unused declaration sctp_backlog_migrate()

Message ID 20230809142323.9428-1-yuehaibing@huawei.com (mailing list archive)
State Accepted
Commit afa2420cff5448eb225e88543e01b0b34b9a43cd
Delegated to: Netdev Maintainers
Headers show
Series [net-next] sctp: Remove unused declaration sctp_backlog_migrate() | 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: 1336 this patch: 1336
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: 1359 this patch: 1359
netdev/checkpatch success total: 0 errors, 0 warnings, 0 checks, 8 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:23 p.m. UTC
Commit 61c9fed41638 ("[SCTP]: A better solution to fix the race between sctp_peeloff()
and sctp_rcv().") removed the implementation but left declaration in place. Remove it.

Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
---
 include/net/sctp/sctp.h | 2 --
 1 file changed, 2 deletions(-)

Comments

Xin Long Aug. 9, 2023, 4:51 p.m. UTC | #1
On Wed, Aug 9, 2023 at 10:23 AM Yue Haibing <yuehaibing@huawei.com> wrote:
>
> Commit 61c9fed41638 ("[SCTP]: A better solution to fix the race between sctp_peeloff()
> and sctp_rcv().") removed the implementation but left declaration in place. Remove it.
>
> Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
> ---
>  include/net/sctp/sctp.h | 2 --
>  1 file changed, 2 deletions(-)
>
> diff --git a/include/net/sctp/sctp.h b/include/net/sctp/sctp.h
> index 2a67100b2a17..a2310fa995f6 100644
> --- a/include/net/sctp/sctp.h
> +++ b/include/net/sctp/sctp.h
> @@ -148,8 +148,6 @@ void sctp_icmp_redirect(struct sock *, struct sctp_transport *,
>  void sctp_icmp_proto_unreachable(struct sock *sk,
>                                  struct sctp_association *asoc,
>                                  struct sctp_transport *t);
> -void sctp_backlog_migrate(struct sctp_association *assoc,
> -                         struct sock *oldsk, struct sock *newsk);
>  int sctp_transport_hashtable_init(void);
>  void sctp_transport_hashtable_destroy(void);
>  int sctp_hash_transport(struct sctp_transport *t);
> --
> 2.34.1
>
>
Acked-by: Xin Long <lucien.xin@gmail.com>
patchwork-bot+netdevbpf@kernel.org Aug. 11, 2023, 2:40 a.m. UTC | #2
Hello:

This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Wed, 9 Aug 2023 22:23:23 +0800 you wrote:
> Commit 61c9fed41638 ("[SCTP]: A better solution to fix the race between sctp_peeloff()
> and sctp_rcv().") removed the implementation but left declaration in place. Remove it.
> 
> Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
> ---
>  include/net/sctp/sctp.h | 2 --
>  1 file changed, 2 deletions(-)

Here is the summary with links:
  - [net-next] sctp: Remove unused declaration sctp_backlog_migrate()
    https://git.kernel.org/netdev/net-next/c/afa2420cff54

You are awesome, thank you!
diff mbox series

Patch

diff --git a/include/net/sctp/sctp.h b/include/net/sctp/sctp.h
index 2a67100b2a17..a2310fa995f6 100644
--- a/include/net/sctp/sctp.h
+++ b/include/net/sctp/sctp.h
@@ -148,8 +148,6 @@  void sctp_icmp_redirect(struct sock *, struct sctp_transport *,
 void sctp_icmp_proto_unreachable(struct sock *sk,
 				 struct sctp_association *asoc,
 				 struct sctp_transport *t);
-void sctp_backlog_migrate(struct sctp_association *assoc,
-			  struct sock *oldsk, struct sock *newsk);
 int sctp_transport_hashtable_init(void);
 void sctp_transport_hashtable_destroy(void);
 int sctp_hash_transport(struct sctp_transport *t);