summaryrefslogtreecommitdiff
path: root/sys/arch/amiga
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2001-11-09 15:25:57 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2001-11-09 15:25:57 +0000
commitecaa80ce9f29a65a9be1c62b99a0c9c9513d901e (patch)
tree001c257a7e50eb1d40bc18ee1ab1a037aa05339d /sys/arch/amiga
parent2188210555e482e1258be2a2c479b59ae2453751 (diff)
nswbuf hasn't been used for ages. gc.
Diffstat (limited to 'sys/arch/amiga')
-rw-r--r--sys/arch/amiga/amiga/machdep.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/sys/arch/amiga/amiga/machdep.c b/sys/arch/amiga/amiga/machdep.c
index 2e05152b474..abfba61cc77 100644
--- a/sys/arch/amiga/amiga/machdep.c
+++ b/sys/arch/amiga/amiga/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.56 2001/11/07 01:18:00 art Exp $ */
+/* $OpenBSD: machdep.c,v 1.57 2001/11/09 15:25:55 art Exp $ */
/* $NetBSD: machdep.c,v 1.95 1997/08/27 18:31:17 is Exp $ */
/*
@@ -136,7 +136,6 @@ vm_map_t phys_map = NULL;
/*
* Declare these as initialized data so we can patch them.
*/
-int nswbuf = 0;
#ifdef NBUF
int nbuf = NBUF;
#else
@@ -393,11 +392,6 @@ again:
nbuf = 16;
}
- if (nswbuf == 0) {
- nswbuf = (nbuf * 3 / 4) &~ 1; /* force even */
- if (nswbuf > 256)
- nswbuf = 256; /* sanity */
- }
valloc(buf, struct buf, nbuf);
/*
* End of first pass, size has been calculated so allocate memory