diff options
Diffstat (limited to 'net/sctp/sm_sideeffect.c')
-rw-r--r-- | net/sctp/sm_sideeffect.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/net/sctp/sm_sideeffect.c b/net/sctp/sm_sideeffect.c index 2e21384697c2..b5327bb77458 100644 --- a/net/sctp/sm_sideeffect.c +++ b/net/sctp/sm_sideeffect.c | |||
@@ -259,12 +259,6 @@ void sctp_generate_t3_rtx_event(unsigned long peer) | |||
259 | goto out_unlock; | 259 | goto out_unlock; |
260 | } | 260 | } |
261 | 261 | ||
262 | /* Is this transport really dead and just waiting around for | ||
263 | * the timer to let go of the reference? | ||
264 | */ | ||
265 | if (transport->dead) | ||
266 | goto out_unlock; | ||
267 | |||
268 | /* Run through the state machine. */ | 262 | /* Run through the state machine. */ |
269 | error = sctp_do_sm(net, SCTP_EVENT_T_TIMEOUT, | 263 | error = sctp_do_sm(net, SCTP_EVENT_T_TIMEOUT, |
270 | SCTP_ST_TIMEOUT(SCTP_EVENT_TIMEOUT_T3_RTX), | 264 | SCTP_ST_TIMEOUT(SCTP_EVENT_TIMEOUT_T3_RTX), |
@@ -380,12 +374,6 @@ void sctp_generate_heartbeat_event(unsigned long data) | |||
380 | goto out_unlock; | 374 | goto out_unlock; |
381 | } | 375 | } |
382 | 376 | ||
383 | /* Is this structure just waiting around for us to actually | ||
384 | * get destroyed? | ||
385 | */ | ||
386 | if (transport->dead) | ||
387 | goto out_unlock; | ||
388 | |||
389 | error = sctp_do_sm(net, SCTP_EVENT_T_TIMEOUT, | 377 | error = sctp_do_sm(net, SCTP_EVENT_T_TIMEOUT, |
390 | SCTP_ST_TIMEOUT(SCTP_EVENT_TIMEOUT_HEARTBEAT), | 378 | SCTP_ST_TIMEOUT(SCTP_EVENT_TIMEOUT_HEARTBEAT), |
391 | asoc->state, asoc->ep, asoc, | 379 | asoc->state, asoc->ep, asoc, |