summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorpjd <pjd@FreeBSD.org>2004-03-28 15:48:00 +0000
committerpjd <pjd@FreeBSD.org>2004-03-28 15:48:00 +0000
commitc83007d58ae2762815e43feb88a271cc50ebaadd (patch)
tree9944cb6cc29bd4993a86c1b4710989c9ec2717dc /sys
parentc715901410e98c7b0c336278828765e4285964d3 (diff)
downloadFreeBSD-src-c83007d58ae2762815e43feb88a271cc50ebaadd.zip
FreeBSD-src-c83007d58ae2762815e43feb88a271cc50ebaadd.tar.gz
Remove unused argument.
Diffstat (limited to 'sys')
-rw-r--r--sys/netinet/tcp_usrreq.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/netinet/tcp_usrreq.c b/sys/netinet/tcp_usrreq.c
index 88eb781..2d8f9e7 100644
--- a/sys/netinet/tcp_usrreq.c
+++ b/sys/netinet/tcp_usrreq.c
@@ -90,7 +90,7 @@
*/
extern char *tcpstates[]; /* XXX ??? */
-static int tcp_attach(struct socket *, struct thread *td);
+static int tcp_attach(struct socket *);
static int tcp_connect(struct tcpcb *, struct sockaddr *,
struct thread *td);
#ifdef INET6
@@ -134,7 +134,7 @@ tcp_usr_attach(struct socket *so, int proto, struct thread *td)
goto out;
}
- error = tcp_attach(so, td);
+ error = tcp_attach(so);
if (error)
goto out;
@@ -1188,9 +1188,8 @@ SYSCTL_INT(_net_inet_tcp, TCPCTL_RECVSPACE, recvspace, CTLFLAG_RW,
* bufer space, and entering LISTEN state if to accept connections.
*/
static int
-tcp_attach(so, td)
+tcp_attach(so)
struct socket *so;
- struct thread *td;
{
register struct tcpcb *tp;
struct inpcb *inp;
OpenPOWER on IntegriCloud