inpcb: garbage collect so_sototcpcb()

It had very little use and required inpcb layer to know tcpcb.
This commit is contained in:
Gleb Smirnoff 2022-10-19 15:15:53 -07:00
parent b2c558c898
commit b6a816f116
2 changed files with 0 additions and 8 deletions

View File

@ -2753,13 +2753,6 @@ so_sotoinpcb(struct socket *so)
return (sotoinpcb(so));
}
struct tcpcb *
so_sototcpcb(struct socket *so)
{
return (sototcpcb(so));
}
/*
* Create an external-format (``xinpcb'') structure using the information in
* the kernel-format in_pcb structure pointed to by inp. This is done to

View File

@ -722,7 +722,6 @@ __END_DECLS
#ifdef _KERNEL
struct socket;
struct tcpcb *so_sototcpcb(struct socket *so);
struct inpcb *so_sotoinpcb(struct socket *so);
struct sockbuf *so_sockbuf_snd(struct socket *);
struct sockbuf *so_sockbuf_rcv(struct socket *);