aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2025-05-26 07:47:45 +0200
committerJakub Kicinski <kuba@kernel.org>2025-05-27 18:18:55 -0700
commit33f1b3677a13dda60a2a59858f7916672e7f1546 (patch)
treea1c593aef5cc73ae7a75a06dba80723cd358e468 /include
parentnet: lan743x: Modify the EEPROM and OTP size for PCI1xxxx devices (diff)
downloadwireguard-linux-33f1b3677a13dda60a2a59858f7916672e7f1546.tar.xz
wireguard-linux-33f1b3677a13dda60a2a59858f7916672e7f1546.zip
sctp: mark sctp_do_peeloff static
sctp_do_peeloff is only used inside of net/sctp/socket.c, so mark it static. Signed-off-by: Christoph Hellwig <hch@lst.de> Acked-by: Xin Long <lucien.xin@gmail.com> Link: https://patch.msgid.link/20250526054745.2329201-1-hch@lst.de Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include')
-rw-r--r--include/net/sctp/sctp.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/net/sctp/sctp.h b/include/net/sctp/sctp.h
index d8da764cf6de..e96d1bd087f6 100644
--- a/include/net/sctp/sctp.h
+++ b/include/net/sctp/sctp.h
@@ -364,8 +364,6 @@ sctp_assoc_to_state(const struct sctp_association *asoc)
/* Look up the association by its id. */
struct sctp_association *sctp_id2assoc(struct sock *sk, sctp_assoc_t id);
-int sctp_do_peeloff(struct sock *sk, sctp_assoc_t id, struct socket **sockp);
-
/* A macro to walk a list of skbs. */
#define sctp_skb_for_each(pos, head, tmp) \
skb_queue_walk_safe(head, pos, tmp)