Date: Thu, 26 Dec 2013 22:42:11 +0000 (UTC) From: Dimitry Andric <dim@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r259928 - head/sys/dev/bxe Message-ID: <201312262242.rBQMgB97012869@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312262242.rBQMgB97012869>