From 24a54e79c9c71774b189340b928a9f2ae16b419d Mon Sep 17 00:00:00 2001 From: jhb Date: Fri, 29 Mar 2019 19:47:42 +0000 Subject: [PATCH] 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 --- sys/netinet/in_pcb.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/sys/netinet/in_pcb.c b/sys/netinet/in_pcb.c index 41b3c812d97f..5c4e6d904718 100644 --- a/sys/netinet/in_pcb.c +++ b/sys/netinet/in_pcb.c @@ -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;