svn commit: r315806 - stable/10/sys/dev/cxgb/ulp/tom

Alexander Motin mav at FreeBSD.org
Thu Mar 23 06:29:49 UTC 2017


Author: mav
Date: Thu Mar 23 06:29:47 2017
New Revision: 315806
URL: https://svnweb.freebsd.org/changeset/base/315806

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

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

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