svn commit: r260101 - stable/10/sys/dev/bxe

Dimitry Andric dim at FreeBSD.org
Mon Dec 30 20:32:27 UTC 2013


Author: dim
Date: Mon Dec 30 20:32:27 2013
New Revision: 260101
URL: http://svnweb.freebsd.org/changeset/base/260101

Log:
  MFC r259928:
  
  In sys/dev/bxe/bxe.c, remove static function bxe_has_tx_work_unload(),
  which has never been used.
  
  Reviewed by:	edavis

Modified:
  stable/10/sys/dev/bxe/bxe.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/dev/bxe/bxe.c
==============================================================================
--- stable/10/sys/dev/bxe/bxe.c	Mon Dec 30 20:27:58 2013	(r260100)
+++ stable/10/sys/dev/bxe/bxe.c	Mon Dec 30 20:32:27 2013	(r260101)
@@ -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-stable-10 mailing list