svn commit: r259928 - head/sys/dev/bxe
Dimitry Andric
dim at FreeBSD.org
Thu Dec 26 22:42:12 UTC 2013
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)
More information about the svn-src-head
mailing list