tcp: remove useless today lock assertion in a middle of function

It was added back in 7cfc690440, when there was a jump label
above and tcp_input() hadn't been locked all through.
This commit is contained in:
Gleb Smirnoff 2022-10-25 11:09:22 -07:00
parent aec9453fec
commit eda633455a

View File

@ -2131,8 +2131,6 @@ tcp_do_segment(struct mbuf *m, struct tcphdr *th, struct socket *so,
tcp_state_change(tp, TCPS_SYN_RECEIVED);
}
INP_WLOCK_ASSERT(tp->t_inpcb);
/*
* Advance th->th_seq to correspond to first data byte.
* If data, trim to stay within window,