Module Name:    src
Committed By:   msaitoh
Date:           Fri Oct  6 14:38:03 UTC 2023

Modified Files:
        src/sys/dev/pci/ixgbe: ixgbe.h

Log Message:
ixg(4): Remove unused and old function. No functional change.

 - From FreeBSD's ix-3.3.32.


To generate a diff of this commit:
cvs rdiff -u -r1.89 -r1.90 src/sys/dev/pci/ixgbe/ixgbe.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/dev/pci/ixgbe/ixgbe.h
diff -u src/sys/dev/pci/ixgbe/ixgbe.h:1.89 src/sys/dev/pci/ixgbe/ixgbe.h:1.90
--- src/sys/dev/pci/ixgbe/ixgbe.h:1.89	Fri Oct  6 14:37:04 2023
+++ src/sys/dev/pci/ixgbe/ixgbe.h	Fri Oct  6 14:38:03 2023
@@ -1,4 +1,4 @@
-/* $NetBSD: ixgbe.h,v 1.89 2023/10/06 14:37:04 msaitoh Exp $ */
+/* $NetBSD: ixgbe.h,v 1.90 2023/10/06 14:38:03 msaitoh Exp $ */
 
 /******************************************************************************
   SPDX-License-Identifier: BSD-3-Clause
@@ -692,19 +692,6 @@ struct ixgbe_softc {
 	"\t2 - tx pause\n" \
 	"\t3 - tx and rx pause"
 
-/* Workaround to make 8.0 buildable */
-#if __FreeBSD_version >= 800000 && __FreeBSD_version < 800504
-static __inline int
-drbr_needs_enqueue(struct ifnet *ifp, struct buf_ring *br)
-{
-#ifdef ALTQ
-	if (ALTQ_IS_ENABLED(&ifp->if_snd))
-		return (1);
-#endif
-	return (!buf_ring_empty(br));
-}
-#endif
-
 /*
  * Find the number of unrefreshed RX descriptors
  */

Reply via email to