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

sctp: Remove unused declaration sctp_backlog_migrate()

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>
Acked-by: Xin Long <lucien.xin@gmail.com>
Link: https://lore.kernel.org/r/20230809142323.9428-1-yuehaibing@huawei.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

authored by

Yue Haibing and committed by
Jakub Kicinski
afa2420c 35f563d6

-2
-2
include/net/sctp/sctp.h
··· 148 148 void sctp_icmp_proto_unreachable(struct sock *sk, 149 149 struct sctp_association *asoc, 150 150 struct sctp_transport *t); 151 - void sctp_backlog_migrate(struct sctp_association *assoc, 152 - struct sock *oldsk, struct sock *newsk); 153 151 int sctp_transport_hashtable_init(void); 154 152 void sctp_transport_hashtable_destroy(void); 155 153 int sctp_hash_transport(struct sctp_transport *t);