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 some old #if 0 code
details: https://anonhg.NetBSD.org/src/rev/8fbcd2ef63c9
branches: trunk
changeset: 971191:8fbcd2ef63c9
user: jdolecek <jdolecek%NetBSD.org@localhost>
date: Fri Apr 17 10:32:19 2020 +0000
description:
remove some old #if 0 code
diffstat:
sys/arch/xen/xen/xbd_xenbus.c | 10 ++--------
1 files changed, 2 insertions(+), 8 deletions(-)
diffs (31 lines):
diff -r cfcfb8020431 -r 8fbcd2ef63c9 sys/arch/xen/xen/xbd_xenbus.c
--- a/sys/arch/xen/xen/xbd_xenbus.c Fri Apr 17 09:42:27 2020 +0000
+++ b/sys/arch/xen/xen/xbd_xenbus.c Fri Apr 17 10:32:19 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: xbd_xenbus.c,v 1.116 2020/04/16 16:38:43 jdolecek Exp $ */
+/* $NetBSD: xbd_xenbus.c,v 1.117 2020/04/17 10:32:19 jdolecek Exp $ */
/*
* Copyright (c) 2006 Manuel Bouyer.
@@ -50,7 +50,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: xbd_xenbus.c,v 1.116 2020/04/16 16:38:43 jdolecek Exp $");
+__KERNEL_RCSID(0, "$NetBSD: xbd_xenbus.c,v 1.117 2020/04/17 10:32:19 jdolecek Exp $");
#include "opt_xen.h"
@@ -186,12 +186,6 @@
struct evcnt sc_cnt_indirect;
};
-#if 0
-/* too big to be on stack */
-static multicall_entry_t rq_mcl[XBD_RING_SIZE+1];
-static paddr_t rq_pages[XBD_RING_SIZE];
-#endif
-
static int xbd_xenbus_match(device_t, cfdata_t, void *);
static void xbd_xenbus_attach(device_t, device_t, void *);
static int xbd_xenbus_detach(device_t, int);
Home |
Main Index |
Thread Index |
Old Index