svn commit: r314952 - head/sys/dev/cxgb/ulp/tom
Alexander Motin
mav at FreeBSD.org
Thu Mar 9 07:56:00 UTC 2017
Author: mav
Date: Thu Mar 9 07:55:58 2017
New Revision: 314952
URL: https://svnweb.freebsd.org/changeset/base/314952
Log:
Fix unused variable when built without INVARIANT_SUPPORT.
MFC after: 2 weeks
Modified:
head/sys/dev/cxgb/ulp/tom/cxgb_cpl_io.c
Modified: head/sys/dev/cxgb/ulp/tom/cxgb_cpl_io.c
==============================================================================
--- head/sys/dev/cxgb/ulp/tom/cxgb_cpl_io.c Thu Mar 9 06:58:47 2017 (r314951)
+++ head/sys/dev/cxgb/ulp/tom/cxgb_cpl_io.c Thu Mar 9 07:55:58 2017 (r314952)
@@ -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 *);
More information about the svn-src-head
mailing list