Remove endearing but syntactically unnecessary "return;" statements

directly before the final closeing brackets of some TCP functions.

MFC after:	3 days
This commit is contained in:
Robert Watson 2008-10-26 19:33:22 +00:00
parent 460473a071
commit 4c95fd23d6
3 changed files with 0 additions and 6 deletions

View file

@ -925,7 +925,6 @@ drop:
free(s, M_TCPLOG);
if (m != NULL)
m_freem(m);
return;
}
static void
@ -2529,7 +2528,6 @@ drop:
if (headlocked)
INP_INFO_WUNLOCK(&V_tcbinfo);
m_freem(m);
return;
}
/*
@ -2588,7 +2586,6 @@ tcp_dropwithreset(struct mbuf *m, struct tcphdr *th, struct tcpcb *tp,
return;
drop:
m_freem(m);
return;
}
/*

View file

@ -680,5 +680,4 @@ tcp_sack_adjust(struct tcpcb *tp)
if (SEQ_LT(tp->snd_nxt, cur->end))
return;
tp->snd_nxt = tp->snd_fack;
return;
}

View file

@ -1243,7 +1243,6 @@ done:
*lsop = NULL;
m_freem(m);
}
return;
}
static int
@ -1576,7 +1575,6 @@ syncookie_generate(struct syncache_head *sch, struct syncache *sc,
}
V_tcpstat.tcps_sc_sendcookie++;
return;
}
static struct syncache *