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

sctp: Remove unused function declarations

These declarations are never implemented since beginning of git history.

Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Acked-by: Xin Long <lucien.xin@gmail.com>
Link: https://lore.kernel.org/r/20230731141030.32772-1-yuehaibing@huawei.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

authored by

Yue Haibing and committed by
Jakub Kicinski
49c467dc edd8b295

-5
-3
include/net/sctp/sm.h
··· 156 156 sctp_state_fn_t sctp_sf_autoclose_timer_expire; 157 157 158 158 /* Prototypes for utility support functions. */ 159 - __u8 sctp_get_chunk_type(struct sctp_chunk *chunk); 160 159 const struct sctp_sm_table_entry *sctp_sm_lookup_event( 161 160 struct net *net, 162 161 enum sctp_event_type event_type, ··· 165 166 struct sctp_association *sctp_make_temp_asoc(const struct sctp_endpoint *, 166 167 struct sctp_chunk *, 167 168 gfp_t gfp); 168 - __u32 sctp_generate_verification_tag(void); 169 - void sctp_populate_tie_tags(__u8 *cookie, __u32 curTag, __u32 hisTag); 170 169 171 170 /* Prototypes for chunk-building functions. */ 172 171 struct sctp_chunk *sctp_make_init(const struct sctp_association *asoc,
-2
include/net/sctp/structs.h
··· 1122 1122 void sctp_outq_tail(struct sctp_outq *, struct sctp_chunk *chunk, gfp_t); 1123 1123 int sctp_outq_sack(struct sctp_outq *, struct sctp_chunk *); 1124 1124 int sctp_outq_is_empty(const struct sctp_outq *); 1125 - void sctp_outq_restart(struct sctp_outq *); 1126 - 1127 1125 void sctp_retransmit(struct sctp_outq *q, struct sctp_transport *transport, 1128 1126 enum sctp_retransmit_reason reason); 1129 1127 void sctp_retransmit_mark(struct sctp_outq *, struct sctp_transport *, __u8);