summaryrefslogtreecommitdiffstats
path: root/sys/netinet
diff options
context:
space:
mode:
authorpjd <pjd@FreeBSD.org>2004-03-27 20:41:32 +0000
committerpjd <pjd@FreeBSD.org>2004-03-27 20:41:32 +0000
commit02bc13377989c8a404cdeacd93dd1dabc710c44a (patch)
tree2af623e61196a6de24e984405e2087958e9f5f97 /sys/netinet
parentb41d925167717d0521d046c8ed82094f3d546f53 (diff)
downloadFreeBSD-src-02bc13377989c8a404cdeacd93dd1dabc710c44a.zip
FreeBSD-src-02bc13377989c8a404cdeacd93dd1dabc710c44a.tar.gz
Remove unused argument.
Reviewed by: ume
Diffstat (limited to 'sys/netinet')
-rw-r--r--sys/netinet/in_pcb.c3
-rw-r--r--sys/netinet/in_pcb.h3
-rw-r--r--sys/netinet/ip_divert.c2
-rw-r--r--sys/netinet/raw_ip.c2
-rw-r--r--sys/netinet/tcp_usrreq.c2
-rw-r--r--sys/netinet/udp_usrreq.c2
6 files changed, 6 insertions, 8 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);
OpenPOWER on IntegriCloud