Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci/ixgbe Remove dead code. No functional change.
details: https://anonhg.NetBSD.org/src/rev/24bec8d6d808
branches: trunk
changeset: 1027673:24bec8d6d808
user: msaitoh <msaitoh%NetBSD.org@localhost>
date: Wed Dec 15 09:52:44 2021 +0000
description:
Remove dead code. No functional change.
FreeBSD: 0b487fb4547ad1a939be0d523e555557c94b7cd1
DPDK: a6395d471e14e5a7432875dad8fb3533238c5167
diffstat:
sys/dev/pci/ixgbe/ixgbe_dcb_82598.c | 12 ++----------
1 files changed, 2 insertions(+), 10 deletions(-)
diffs (33 lines):
diff -r bab10f0a39f0 -r 24bec8d6d808 sys/dev/pci/ixgbe/ixgbe_dcb_82598.c
--- a/sys/dev/pci/ixgbe/ixgbe_dcb_82598.c Wed Dec 15 09:50:21 2021 +0000
+++ b/sys/dev/pci/ixgbe/ixgbe_dcb_82598.c Wed Dec 15 09:52:44 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ixgbe_dcb_82598.c,v 1.10 2021/12/10 11:16:54 msaitoh Exp $ */
+/* $NetBSD: ixgbe_dcb_82598.c,v 1.11 2021/12/15 09:52:44 msaitoh Exp $ */
/******************************************************************************
SPDX-License-Identifier: BSD-3-Clause
@@ -35,7 +35,7 @@
/*$FreeBSD: head/sys/dev/ixgbe/ixgbe_dcb_82598.c 331224 2018-03-19 20:55:05Z erj $*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ixgbe_dcb_82598.c,v 1.10 2021/12/10 11:16:54 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ixgbe_dcb_82598.c,v 1.11 2021/12/15 09:52:44 msaitoh Exp $");
#include "ixgbe_type.h"
#include "ixgbe_dcb.h"
@@ -70,14 +70,6 @@
stats->qprc[tc] += IXGBE_READ_REG(hw, IXGBE_QPRC(tc));
/* Received Bytes */
stats->qbrc[tc] += IXGBE_READ_REG(hw, IXGBE_QBRC(tc));
-
-#if 0
- /* Can we get rid of these?? Consequently, getting rid
- * of the tc_stats structure.
- */
- tc_stats_array[up]->in_overflow_discards = 0;
- tc_stats_array[up]->out_overflow_discards = 0;
-#endif
}
return IXGBE_SUCCESS;
Home |
Main Index |
Thread Index |
Old Index