From owner-svn-src-all@freebsd.org Thu Mar 23 06:29:49 2017 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 06CB8D19D25; Thu, 23 Mar 2017 06:29:49 +0000 (UTC) (envelope-from mav@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id CA4B11439; Thu, 23 Mar 2017 06:29:48 +0000 (UTC) (envelope-from mav@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v2N6TlgJ048116; Thu, 23 Mar 2017 06:29:47 GMT (envelope-from mav@FreeBSD.org) Received: (from mav@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v2N6TlJR048115; Thu, 23 Mar 2017 06:29:47 GMT (envelope-from mav@FreeBSD.org) Message-Id: <201703230629.v2N6TlJR048115@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: mav set sender to mav@FreeBSD.org using -f From: Alexander Motin Date: Thu, 23 Mar 2017 06:29:47 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org Subject: svn commit: r315806 - stable/10/sys/dev/cxgb/ulp/tom X-SVN-Group: stable-10 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Mar 2017 06:29:49 -0000 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 *);