aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/bxe
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2013-12-26 22:42:11 +0000
committerDimitry Andric <dim@FreeBSD.org>2013-12-26 22:42:11 +0000
commit7d1af5ca62e12f4eec296cfb743105177ba7690f (patch)
tree259f452dbccb75dab8d078fbc0846fc207bc7dc6 /sys/dev/bxe
parentd19f075047e7d0f34bbd45fb763d470a576b8397 (diff)
downloadsrc-7d1af5ca62e12f4eec296cfb743105177ba7690f.tar.gz
src-7d1af5ca62e12f4eec296cfb743105177ba7690f.zip
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
Notes
Notes: svn path=/head/; revision=259928
Diffstat (limited to 'sys/dev/bxe')
-rw-r--r--sys/dev/bxe/bxe.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/sys/dev/bxe/bxe.c b/sys/dev/bxe/bxe.c
index 5ec4a52aaa05..79ec6f52f809 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)