Remove unused argument.

Reviewed by:	ume
This commit is contained in:
Pawel Jakub Dawidek 2004-03-27 20:41:32 +00:00
parent 60a6006b6c
commit 6823b82399
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=127504
8 changed files with 8 additions and 10 deletions

View file

@ -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;

View file

@ -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 *);

View file

@ -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;

View file

@ -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;

View file

@ -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);

View file

@ -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);

View file

@ -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;

View file

@ -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;