Don't check the inp socket pointer in in_pcboutput_eagain.

Reviewed by:	hps (by saying it was ok to be removed)
MFC after:	1 month
Sponsored by:	Netflix
This commit is contained in:
jhb 2019-03-29 19:47:42 +00:00
parent 8a98eb767b
commit 24a54e79c9

View File

@ -3397,16 +3397,11 @@ in_pcboutput_txrtlmt(struct inpcb *inp, struct ifnet *ifp, struct mbuf *mb)
void
in_pcboutput_eagain(struct inpcb *inp)
{
struct socket *socket;
bool did_upgrade;
if (inp == NULL)
return;
socket = inp->inp_socket;
if (socket == NULL)
return;
if (inp->inp_snd_tag == NULL)
return;