From owner-svn-src-all@FreeBSD.ORG Thu Dec 26 22:42:12 2013 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0810B67B; Thu, 26 Dec 2013 22:42:12 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id E7C9C185F; Thu, 26 Dec 2013 22:42:11 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rBQMgBs0012870; Thu, 26 Dec 2013 22:42:11 GMT (envelope-from dim@svn.freebsd.org) Received: (from dim@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id rBQMgB97012869; Thu, 26 Dec 2013 22:42:11 GMT (envelope-from dim@svn.freebsd.org) Message-Id: <201312262242.rBQMgB97012869@svn.freebsd.org> From: Dimitry Andric Date: Thu, 26 Dec 2013 22:42:11 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r259928 - head/sys/dev/bxe X-SVN-Group: head 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.17 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, 26 Dec 2013 22:42:12 -0000 Author: dim Date: Thu Dec 26 22:42:11 2013 New Revision: 259928 URL: http://svnweb.freebsd.org/changeset/base/259928 Log: In sys/dev/bxe/bxe.c, remove static function bxe_has_tx_work_unload(), which has never been used. Reviewed by: edavis MFC after: 3 days Modified: head/sys/dev/bxe/bxe.c Modified: head/sys/dev/bxe/bxe.c ============================================================================== --- head/sys/dev/bxe/bxe.c Thu Dec 26 22:31:47 2013 (r259927) +++ head/sys/dev/bxe/bxe.c Thu Dec 26 22:42:11 2013 (r259928) @@ -2745,13 +2745,6 @@ bxe_drv_pulse(struct bxe_softc *sc) sc->fw_drv_pulse_wr_seq); } -static inline int -bxe_has_tx_work_unload(struct bxe_fastpath *fp) -{ - mb(); /* consumer and producer can change */ - return (fp->tx_pkt_prod != fp->tx_pkt_cons); -} - static inline uint16_t bxe_tx_avail(struct bxe_softc *sc, struct bxe_fastpath *fp)