svn commit: r315805 - stable/11/sys/dev/cxgb/ulp/tom

Alexander Motin mav at FreeBSD.org
Thu Mar 23 06:28:36 UTC 2017


Author: mav
Date: Thu Mar 23 06:28:34 2017
New Revision: 315805
URL: https://svnweb.freebsd.org/changeset/base/315805

Log:
  MFC r314952: Fix unused variable when built without INVARIANT_SUPPORT.

Modified:
  stable/11/sys/dev/cxgb/ulp/tom/cxgb_cpl_io.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/dev/cxgb/ulp/tom/cxgb_cpl_io.c
==============================================================================
--- stable/11/sys/dev/cxgb/ulp/tom/cxgb_cpl_io.c	Thu Mar 23 06:11:31 2017	(r315804)
+++ stable/11/sys/dev/cxgb/ulp/tom/cxgb_cpl_io.c	Thu Mar 23 06:28:34 2017	(r315805)
@@ -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-stable mailing list