Fix unused variable when built without INVARIANT_SUPPORT.

MFC after:	2 weeks
This commit is contained in:
Alexander Motin 2017-03-09 07:55:58 +00:00
parent 6cddacd039
commit aacbef6cc1
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=314952

View file

@ -1621,10 +1621,9 @@ fixup_and_send_ofo(struct toepcb *toep)
struct mbuf *m;
struct toedev *tod = toep->tp_tod;
struct adapter *sc = tod->tod_softc;
struct inpcb *inp = toep->tp_inp;
unsigned int tid = toep->tp_tid;
inp_lock_assert(inp);
inp_lock_assert(toep->tp_inp);
while ((m = mbufq_dequeue(&toep->out_of_order_queue)) != NULL) {
struct ofld_hdr *oh = mtod(m, void *);