Remove two functions which are not used.
MFC after: 3 days.
This commit is contained in:
parent
b61c358887
commit
c7532199ea
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=214933
@ -1670,30 +1670,6 @@ sctp_heartbeat_timer(struct sctp_inpcb *inp, struct sctp_tcb *stcb,
|
||||
return (0);
|
||||
}
|
||||
|
||||
int
|
||||
sctp_is_hb_timer_running(struct sctp_tcb *stcb)
|
||||
{
|
||||
if (SCTP_OS_TIMER_PENDING(&stcb->asoc.hb_timer.timer)) {
|
||||
/* its running */
|
||||
return (1);
|
||||
} else {
|
||||
/* nope */
|
||||
return (0);
|
||||
}
|
||||
}
|
||||
|
||||
int
|
||||
sctp_is_sack_timer_running(struct sctp_tcb *stcb)
|
||||
{
|
||||
if (SCTP_OS_TIMER_PENDING(&stcb->asoc.dack_timer.timer)) {
|
||||
/* its running */
|
||||
return (1);
|
||||
} else {
|
||||
/* nope */
|
||||
return (0);
|
||||
}
|
||||
}
|
||||
|
||||
#define SCTP_NUMBER_OF_MTU_SIZES 18
|
||||
static uint32_t mtu_sizes[] = {
|
||||
68,
|
||||
|
@ -65,9 +65,6 @@ int
|
||||
sctp_heartbeat_timer(struct sctp_inpcb *, struct sctp_tcb *,
|
||||
struct sctp_nets *, int);
|
||||
|
||||
int sctp_is_hb_timer_running(struct sctp_tcb *stcb);
|
||||
int sctp_is_sack_timer_running(struct sctp_tcb *stcb);
|
||||
|
||||
int
|
||||
sctp_cookie_timer(struct sctp_inpcb *, struct sctp_tcb *,
|
||||
struct sctp_nets *);
|
||||
|
Loading…
Reference in New Issue
Block a user