Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Mar 2017 06:28:35 +0000 (UTC)
From:      Alexander Motin <mav@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r315805 - stable/11/sys/dev/cxgb/ulp/tom
Message-ID:  <201703230628.v2N6SZRn048018@repo.freebsd.org>

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



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