Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Mar 2017 07:55:58 +0000 (UTC)
From:      Alexander Motin <mav@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r314952 - head/sys/dev/cxgb/ulp/tom
Message-ID:  <201703090755.v297twVl027730@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 *);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201703090755.v297twVl027730>