inpcb: garbage collect so_sototcpcb()
It had very little use and required inpcb layer to know tcpcb.
This commit is contained in:
parent
b2c558c898
commit
b6a816f116
@ -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
|
||||
|
@ -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 *);
|
||||
|
Loading…
Reference in New Issue
Block a user