summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMatt Jacob <mjacob@FreeBSD.org>2007-06-15 22:54:11 +0000
committerMatt Jacob <mjacob@FreeBSD.org>2007-06-15 22:54:11 +0000
commit3c010a416c857c0243468d4b47406c74c9089ce6 (patch)
tree7e5adc9d4982d8b06d54fc429501625b43ae50aa /sys
parent91c7ac67406f9f90fb70c782fd6f6e457918e5c0 (diff)
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/netinet/tcp_usrreq.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/sys/netinet/tcp_usrreq.c b/sys/netinet/tcp_usrreq.c
index 98bc313b05e6..91c56be0763f 100644
--- a/sys/netinet/tcp_usrreq.c
+++ b/sys/netinet/tcp_usrreq.c
@@ -248,8 +248,6 @@ static void
tcp_usr_detach(struct socket *so)
{
struct inpcb *inp;
- struct tcpcb *tp;
- TCPDEBUG0;
inp = sotoinpcb(so);
KASSERT(inp != NULL, ("tcp_usr_detach: inp == NULL"));
@@ -257,11 +255,7 @@ tcp_usr_detach(struct socket *so)
INP_LOCK(inp);
KASSERT(inp->inp_socket != NULL,
("tcp_usr_detach: inp_socket == NULL"));
- TCPDEBUG1();
-
tcp_detach(so, inp);
- tp = NULL;
- TCPDEBUG2(PRU_DETACH);
INP_INFO_WUNLOCK(&tcbinfo);
}