summaryrefslogtreecommitdiffstats
path: root/sys/netinet/tcp_input.c
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2008-10-26 19:33:22 +0000
committerrwatson <rwatson@FreeBSD.org>2008-10-26 19:33:22 +0000
commit1a0ebdcac70cbfc992fdacea6e46c5f77b60378e (patch)
tree831859c0111adad13d1791f73d69b953be43f671 /sys/netinet/tcp_input.c
parenta2ae61fc142c1736747f39b49422c4656f0d8fd9 (diff)
downloadFreeBSD-src-1a0ebdcac70cbfc992fdacea6e46c5f77b60378e.zip
FreeBSD-src-1a0ebdcac70cbfc992fdacea6e46c5f77b60378e.tar.gz
Remove endearing but syntactically unnecessary "return;" statements
directly before the final closeing brackets of some TCP functions. MFC after: 3 days
Diffstat (limited to 'sys/netinet/tcp_input.c')
-rw-r--r--sys/netinet/tcp_input.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/netinet/tcp_input.c b/sys/netinet/tcp_input.c
index 7f25f57..1284376 100644
--- a/sys/netinet/tcp_input.c
+++ b/sys/netinet/tcp_input.c
@@ -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;
}
/*
OpenPOWER on IntegriCloud