From owner-svn-src-head@freebsd.org Thu Mar 9 07:56:00 2017 Return-Path: Delivered-To: svn-src-head@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 13881D04245; Thu, 9 Mar 2017 07:56:00 +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 D74B01609; Thu, 9 Mar 2017 07:55:59 +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 v297twHm027731; Thu, 9 Mar 2017 07:55:58 GMT (envelope-from mav@FreeBSD.org) Received: (from mav@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v297twVl027730; Thu, 9 Mar 2017 07:55:58 GMT (envelope-from mav@FreeBSD.org) Message-Id: <201703090755.v297twVl027730@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: mav set sender to mav@FreeBSD.org using -f From: Alexander Motin Date: Thu, 9 Mar 2017 07:55:58 +0000 (UTC) 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 X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Mar 2017 07:56:00 -0000 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 *);