diff options
author | pjd <pjd@FreeBSD.org> | 2004-03-27 20:41:32 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2004-03-27 20:41:32 +0000 |
commit | 02bc13377989c8a404cdeacd93dd1dabc710c44a (patch) | |
tree | 2af623e61196a6de24e984405e2087958e9f5f97 /sys | |
parent | b41d925167717d0521d046c8ed82094f3d546f53 (diff) | |
download | FreeBSD-src-02bc13377989c8a404cdeacd93dd1dabc710c44a.zip FreeBSD-src-02bc13377989c8a404cdeacd93dd1dabc710c44a.tar.gz |
Remove unused argument.
Reviewed by: ume
Diffstat (limited to 'sys')
-rw-r--r-- | sys/netinet/in_pcb.c | 3 | ||||
-rw-r--r-- | sys/netinet/in_pcb.h | 3 | ||||
-rw-r--r-- | sys/netinet/ip_divert.c | 2 | ||||
-rw-r--r-- | sys/netinet/raw_ip.c | 2 | ||||
-rw-r--r-- | sys/netinet/tcp_usrreq.c | 2 | ||||
-rw-r--r-- | sys/netinet/udp_usrreq.c | 2 | ||||
-rw-r--r-- | sys/netinet6/raw_ip6.c | 2 | ||||
-rw-r--r-- | sys/netinet6/udp6_usrreq.c | 2 |
8 files changed, 8 insertions, 10 deletions
diff --git a/sys/netinet/in_pcb.c b/sys/netinet/in_pcb.c index 0591dd4..c6e2ace 100644 --- a/sys/netinet/in_pcb.c +++ b/sys/netinet/in_pcb.c @@ -155,10 +155,9 @@ SYSCTL_INT(_net_inet_ip_portrange, OID_AUTO, reservedlow, * Allocate a PCB and associate it with the socket. */ int -in_pcballoc(so, pcbinfo, td, type) +in_pcballoc(so, pcbinfo, type) struct socket *so; struct inpcbinfo *pcbinfo; - struct thread *td; const char *type; { register struct inpcb *inp; diff --git a/sys/netinet/in_pcb.h b/sys/netinet/in_pcb.h index 78ae121..d2f4852 100644 --- a/sys/netinet/in_pcb.h +++ b/sys/netinet/in_pcb.h @@ -337,8 +337,7 @@ extern int ipport_hifirstauto; extern int ipport_hilastauto; void in_pcbpurgeif0(struct inpcbinfo *, struct ifnet *); -int in_pcballoc(struct socket *, struct inpcbinfo *, struct thread *, - const char *); +int in_pcballoc(struct socket *, struct inpcbinfo *, const char *); int in_pcbbind(struct inpcb *, struct sockaddr *, struct thread *); int in_pcbbind_setup(struct inpcb *, struct sockaddr *, in_addr_t *, u_short *, struct thread *); diff --git a/sys/netinet/ip_divert.c b/sys/netinet/ip_divert.c index a7097a2..46c5810 100644 --- a/sys/netinet/ip_divert.c +++ b/sys/netinet/ip_divert.c @@ -420,7 +420,7 @@ div_attach(struct socket *so, int proto, struct thread *td) INP_INFO_WUNLOCK(&divcbinfo); return error; } - error = in_pcballoc(so, &divcbinfo, td, "divinp"); + error = in_pcballoc(so, &divcbinfo, "divinp"); if (error) { INP_INFO_WUNLOCK(&divcbinfo); return error; diff --git a/sys/netinet/raw_ip.c b/sys/netinet/raw_ip.c index fb95702..7c8ba6f 100644 --- a/sys/netinet/raw_ip.c +++ b/sys/netinet/raw_ip.c @@ -536,7 +536,7 @@ rip_attach(struct socket *so, int proto, struct thread *td) INP_INFO_WUNLOCK(&ripcbinfo); return error; } - error = in_pcballoc(so, &ripcbinfo, td, "rawinp"); + error = in_pcballoc(so, &ripcbinfo, "rawinp"); if (error) { INP_INFO_WUNLOCK(&ripcbinfo); return error; diff --git a/sys/netinet/tcp_usrreq.c b/sys/netinet/tcp_usrreq.c index 7d14ec1..c896256 100644 --- a/sys/netinet/tcp_usrreq.c +++ b/sys/netinet/tcp_usrreq.c @@ -1203,7 +1203,7 @@ tcp_attach(so, td) if (error) return (error); } - error = in_pcballoc(so, &tcbinfo, td, "tcpinp"); + error = in_pcballoc(so, &tcbinfo, "tcpinp"); if (error) return (error); inp = sotoinpcb(so); diff --git a/sys/netinet/udp_usrreq.c b/sys/netinet/udp_usrreq.c index adef1f8..56f195e 100644 --- a/sys/netinet/udp_usrreq.c +++ b/sys/netinet/udp_usrreq.c @@ -940,7 +940,7 @@ udp_attach(struct socket *so, int proto, struct thread *td) return error; } s = splnet(); - error = in_pcballoc(so, &udbinfo, td, "udpinp"); + error = in_pcballoc(so, &udbinfo, "udpinp"); splx(s); if (error) { INP_INFO_WUNLOCK(&udbinfo); diff --git a/sys/netinet6/raw_ip6.c b/sys/netinet6/raw_ip6.c index 03b9a41..804d938 100644 --- a/sys/netinet6/raw_ip6.c +++ b/sys/netinet6/raw_ip6.c @@ -561,7 +561,7 @@ rip6_attach(struct socket *so, int proto, struct thread *td) if (error) return error; s = splnet(); - error = in_pcballoc(so, &ripcbinfo, td, "raw6inp"); + error = in_pcballoc(so, &ripcbinfo, "raw6inp"); splx(s); if (error) return error; diff --git a/sys/netinet6/udp6_usrreq.c b/sys/netinet6/udp6_usrreq.c index 530446e..780b917 100644 --- a/sys/netinet6/udp6_usrreq.c +++ b/sys/netinet6/udp6_usrreq.c @@ -526,7 +526,7 @@ udp6_attach(struct socket *so, int proto, struct thread *td) return error; } s = splnet(); - error = in_pcballoc(so, &udbinfo, td, "udp6inp"); + error = in_pcballoc(so, &udbinfo, "udp6inp"); splx(s); if (error) return error; |