diff options
author | dim <dim@FreeBSD.org> | 2013-12-30 20:32:27 +0000 |
---|---|---|
committer | dim <dim@FreeBSD.org> | 2013-12-30 20:32:27 +0000 |
commit | 955c58790eea066ae0aa598e1f46c9851b2f31fb (patch) | |
tree | e267177268a30002d6c0106131caed1362477125 /sys | |
parent | b3248d47034b616b43f16e1f187efdbb34c6288e (diff) | |
download | FreeBSD-src-955c58790eea066ae0aa598e1f46c9851b2f31fb.zip FreeBSD-src-955c58790eea066ae0aa598e1f46c9851b2f31fb.tar.gz |
MFC r259928:
In sys/dev/bxe/bxe.c, remove static function bxe_has_tx_work_unload(),
which has never been used.
Reviewed by: edavis
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/bxe/bxe.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/sys/dev/bxe/bxe.c b/sys/dev/bxe/bxe.c index 5ec4a52..79ec6f5 100644 --- a/sys/dev/bxe/bxe.c +++ b/sys/dev/bxe/bxe.c @@ -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) |