Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/uvm Garbage collect some leftover (and unneeded) code. ...
details: https://anonhg.NetBSD.org/src/rev/b5274115aad1
branches: trunk
changeset: 537781:b5274115aad1
user: oster <oster%NetBSD.org@localhost>
date: Sat Oct 05 17:26:06 2002 +0000
description:
Garbage collect some leftover (and unneeded) code. OK'ed by chs.
diffstat:
sys/uvm/uvm_km.c | 7 ++-----
1 files changed, 2 insertions(+), 5 deletions(-)
diffs (28 lines):
diff -r f2768ee97a34 -r b5274115aad1 sys/uvm/uvm_km.c
--- a/sys/uvm/uvm_km.c Sat Oct 05 17:17:48 2002 +0000
+++ b/sys/uvm/uvm_km.c Sat Oct 05 17:26:06 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: uvm_km.c,v 1.58 2002/09/15 16:54:30 chs Exp $ */
+/* $NetBSD: uvm_km.c,v 1.59 2002/10/05 17:26:06 oster Exp $ */
/*
* Copyright (c) 1997 Charles D. Cranor and Washington University.
@@ -134,7 +134,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uvm_km.c,v 1.58 2002/09/15 16:54:30 chs Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uvm_km.c,v 1.59 2002/10/05 17:26:06 oster Exp $");
#include "opt_uvmhist.h"
@@ -441,9 +441,6 @@
*/
if (__predict_false(pg == NULL)) {
- int t;
-
- t = uvmexp.active + uvmexp.inactive + uvmexp.free;
if ((flags & UVM_KMF_NOWAIT) ||
((flags & UVM_KMF_CANFAIL) &&
uvmexp.swpgonly == uvmexp.swpages)) {
Home |
Main Index |
Thread Index |
Old Index