From 05bceec68e9c7ccb04c17f529bdb63dd3e2db428 Mon Sep 17 00:00:00 2001 From: Michael Tuexen Date: Sat, 18 Jul 2020 13:10:02 +0000 Subject: [PATCH] Remove code which is not needed. MFC after: 1 week --- sys/netinet/sctp_pcb.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/sys/netinet/sctp_pcb.c b/sys/netinet/sctp_pcb.c index 690295ca124c..719e80c171aa 100644 --- a/sys/netinet/sctp_pcb.c +++ b/sys/netinet/sctp_pcb.c @@ -3593,9 +3593,6 @@ sctp_inpcb_free(struct sctp_inpcb *inp, int immediate, int from) */ if (from != SCTP_CALLED_FROM_INPKILL_TIMER) { (void)SCTP_OS_TIMER_STOP_DRAIN(&inp->sctp_ep.signature_change.timer); - } else { - /* Probably un-needed */ - (void)SCTP_OS_TIMER_STOP(&inp->sctp_ep.signature_change.timer); } #ifdef SCTP_LOG_CLOSING