Code cleanup which will silence a warning in PVS / D5245.
This commit is contained in:
parent
7b0fd8f2af
commit
815f806b82
@ -85,7 +85,7 @@ sctp_audit_retranmission_queue(struct sctp_association *asoc)
|
||||
asoc->sent_queue_cnt);
|
||||
}
|
||||
|
||||
int
|
||||
static int
|
||||
sctp_threshold_management(struct sctp_inpcb *inp, struct sctp_tcb *stcb,
|
||||
struct sctp_nets *net, uint16_t threshold)
|
||||
{
|
||||
@ -111,9 +111,9 @@ sctp_threshold_management(struct sctp_inpcb *inp, struct sctp_tcb *stcb,
|
||||
net->last_active = sctp_get_tick_count();
|
||||
sctp_send_hb(stcb, net, SCTP_SO_NOT_LOCKED);
|
||||
sctp_timer_stop(SCTP_TIMER_TYPE_HEARTBEAT,
|
||||
stcb->sctp_ep, stcb, net,
|
||||
inp, stcb, net,
|
||||
SCTP_FROM_SCTP_TIMER + SCTP_LOC_1);
|
||||
sctp_timer_start(SCTP_TIMER_TYPE_HEARTBEAT, stcb->sctp_ep, stcb, net);
|
||||
sctp_timer_start(SCTP_TIMER_TYPE_HEARTBEAT, inp, stcb, net);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -45,10 +45,6 @@ struct sctp_nets *
|
||||
sctp_find_alternate_net(struct sctp_tcb *,
|
||||
struct sctp_nets *, int mode);
|
||||
|
||||
int
|
||||
sctp_threshold_management(struct sctp_inpcb *, struct sctp_tcb *,
|
||||
struct sctp_nets *, uint16_t);
|
||||
|
||||
int
|
||||
sctp_t3rxt_timer(struct sctp_inpcb *, struct sctp_tcb *,
|
||||
struct sctp_nets *);
|
||||
|
Loading…
x
Reference in New Issue
Block a user