]> www.infradead.org Git - users/jedix/linux-maple.git/commit
sctp: Remove unused sctp_assoc_del_peer and sctp_chunk_iif
authorDr. David Alan Gilbert <linux@treblig.org>
Thu, 1 May 2025 23:38:15 +0000 (00:38 +0100)
committerJakub Kicinski <kuba@kernel.org>
Mon, 5 May 2025 23:51:12 +0000 (16:51 -0700)
commitac8f09b9210c48934c78fdc6bc167e660eaac928
tree78c8ac740bf737fb190291413d42f54907c9eb4c
parent1f586017f517f677586ec3853258419f731569a0
sctp: Remove unused sctp_assoc_del_peer and sctp_chunk_iif

sctp_assoc_del_peer() last use was removed in 2015 by
commit 73e6742027f5 ("sctp: Do not try to search for the transport twice")
which now uses rm_peer instead of del_peer.

sctp_chunk_iif() last use was removed in 2016 by
commit 1f45f78f8e51 ("sctp: allow GSO frags to access the chunk too")

Remove them.

Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
Acked-by: Xin Long <lucien.xin@gmail.com>
Link: https://patch.msgid.link/20250501233815.99832-1-linux@treblig.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/net/sctp/sm.h
include/net/sctp/structs.h
net/sctp/associola.c
net/sctp/sm_make_chunk.c