Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/xen/xen remove no longer used macros.



details:   https://anonhg.NetBSD.org/src/rev/0fddc7c3a931
branches:  trunk
changeset: 584276:0fddc7c3a931
user:      yamt <yamt%NetBSD.org@localhost>
date:      Mon Sep 12 12:41:06 2005 +0000

description:
remove no longer used macros.

diffstat:

 sys/arch/xen/xen/if_xennet.c |  6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diffs (28 lines):

diff -r d6a933e12132 -r 0fddc7c3a931 sys/arch/xen/xen/if_xennet.c
--- a/sys/arch/xen/xen/if_xennet.c      Mon Sep 12 12:40:43 2005 +0000
+++ b/sys/arch/xen/xen/if_xennet.c      Mon Sep 12 12:41:06 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_xennet.c,v 1.34 2005/09/12 12:40:43 yamt Exp $      */
+/*     $NetBSD: if_xennet.c,v 1.35 2005/09/12 12:41:06 yamt Exp $      */
 
 /*
  *
@@ -33,7 +33,7 @@
 
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_xennet.c,v 1.34 2005/09/12 12:40:43 yamt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_xennet.c,v 1.35 2005/09/12 12:41:06 yamt Exp $");
 
 #include "opt_inet.h"
 #include "opt_nfs_boot.h"
@@ -143,9 +143,7 @@
 CFATTACH_DECL(xennet, sizeof(struct xennet_softc),
     xennet_match, xennet_attach, NULL, NULL);
 
-#define TX_MAX_ENTRIES (NETIF_TX_RING_SIZE - 2)
 #define RX_MAX_ENTRIES (NETIF_RX_RING_SIZE - 2)
-#define TX_ENTRIES 128
 #define RX_ENTRIES 128
 
 static unsigned long rx_pfn_array[NETIF_RX_RING_SIZE];



Home | Main Index | Thread Index | Old Index