Skip to content

Commit 49c467d

Browse files
Yue Haibingkuba-moo
authored andcommitted
sctp: Remove unused function declarations
These declarations are never implemented since beginning of git history. Signed-off-by: Yue Haibing <[email protected]> Reviewed-by: Simon Horman <[email protected]> Acked-by: Xin Long <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
1 parent edd8b29 commit 49c467d

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

include/net/sctp/sm.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,6 @@ sctp_state_fn_t sctp_sf_do_6_2_sack;
156156
sctp_state_fn_t sctp_sf_autoclose_timer_expire;
157157

158158
/* Prototypes for utility support functions. */
159-
__u8 sctp_get_chunk_type(struct sctp_chunk *chunk);
160159
const struct sctp_sm_table_entry *sctp_sm_lookup_event(
161160
struct net *net,
162161
enum sctp_event_type event_type,
@@ -166,8 +165,6 @@ int sctp_chunk_iif(const struct sctp_chunk *);
166165
struct sctp_association *sctp_make_temp_asoc(const struct sctp_endpoint *,
167166
struct sctp_chunk *,
168167
gfp_t gfp);
169-
__u32 sctp_generate_verification_tag(void);
170-
void sctp_populate_tie_tags(__u8 *cookie, __u32 curTag, __u32 hisTag);
171168

172169
/* Prototypes for chunk-building functions. */
173170
struct sctp_chunk *sctp_make_init(const struct sctp_association *asoc,

include/net/sctp/structs.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1122,8 +1122,6 @@ void sctp_outq_free(struct sctp_outq*);
11221122
void sctp_outq_tail(struct sctp_outq *, struct sctp_chunk *chunk, gfp_t);
11231123
int sctp_outq_sack(struct sctp_outq *, struct sctp_chunk *);
11241124
int sctp_outq_is_empty(const struct sctp_outq *);
1125-
void sctp_outq_restart(struct sctp_outq *);
1126-
11271125
void sctp_retransmit(struct sctp_outq *q, struct sctp_transport *transport,
11281126
enum sctp_retransmit_reason reason);
11291127
void sctp_retransmit_mark(struct sctp_outq *, struct sctp_transport *, __u8);

0 commit comments

Comments
 (0)