summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/dev/fxp/if_fxp.c3
-rw-r--r--sys/pci/if_fxp.c3
2 files changed, 2 insertions, 4 deletions
diff --git a/sys/dev/fxp/if_fxp.c b/sys/dev/fxp/if_fxp.c
index a71dbea..e974f9d 100644
--- a/sys/dev/fxp/if_fxp.c
+++ b/sys/dev/fxp/if_fxp.c
@@ -27,7 +27,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: if_fxp.c,v 1.42 1997/09/30 10:50:45 davidg Exp $
+ * $Id: if_fxp.c,v 1.43 1997/09/30 11:28:24 davidg Exp $
*/
/*
@@ -1053,7 +1053,6 @@ fxp_stats_update(arg)
ifp->if_opackets += sp->tx_good;
ifp->if_collisions += sp->tx_total_collisions;
- ifp->if_ipackets += sp->rx_good;
if (sp->rx_good) {
ifp->if_ipackets += sp->rx_good;
sc->rx_idle_secs = 0;
diff --git a/sys/pci/if_fxp.c b/sys/pci/if_fxp.c
index a71dbea..e974f9d 100644
--- a/sys/pci/if_fxp.c
+++ b/sys/pci/if_fxp.c
@@ -27,7 +27,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: if_fxp.c,v 1.42 1997/09/30 10:50:45 davidg Exp $
+ * $Id: if_fxp.c,v 1.43 1997/09/30 11:28:24 davidg Exp $
*/
/*
@@ -1053,7 +1053,6 @@ fxp_stats_update(arg)
ifp->if_opackets += sp->tx_good;
ifp->if_collisions += sp->tx_total_collisions;
- ifp->if_ipackets += sp->rx_good;
if (sp->rx_good) {
ifp->if_ipackets += sp->rx_good;
sc->rx_idle_secs = 0;
OpenPOWER on IntegriCloud