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:
John Baldwin 2019-03-29 19:47:42 +00:00
parent 34f71e304e
commit 43b65e3c98
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=345712

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;