Source-Changes-HG archive

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

[src/trunk]: src/sys/uvm remove some old #if 0'd-out debugging code.



details:   https://anonhg.NetBSD.org/src/rev/7a294c60bec6
branches:  trunk
changeset: 467880:7a294c60bec6
user:      chs <chs%NetBSD.org@localhost>
date:      Tue Mar 30 16:07:47 1999 +0000

description:
remove some old #if 0'd-out debugging code.

diffstat:

 sys/uvm/uvm_swap.c |  14 +-------------
 1 files changed, 1 insertions(+), 13 deletions(-)

diffs (28 lines):

diff -r 66c2cce6e22f -r 7a294c60bec6 sys/uvm/uvm_swap.c
--- a/sys/uvm/uvm_swap.c        Tue Mar 30 16:03:16 1999 +0000
+++ b/sys/uvm/uvm_swap.c        Tue Mar 30 16:07:47 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: uvm_swap.c,v 1.26 1999/03/26 17:34:16 chs Exp $        */
+/*     $NetBSD: uvm_swap.c,v 1.27 1999/03/30 16:07:47 chs Exp $        */
 
 /*
  * Copyright (c) 1995, 1996, 1997 Matthew R. Green
@@ -1610,18 +1610,6 @@
                        UVMHIST_LOG(pdhist,
                            "success!  returning %d slots starting at %d",
                            *nslots, result + sdp->swd_drumoffset, 0, 0);
-#if 0
-{
-       struct swapdev *sdp2;
-
-       sdp2 = swapdrum_getsdp(result + sdp->swd_drumoffset);
-       if (sdp2 == NULL) {
-printf("uvm_swap_alloc:  nslots=%d, dev=%x, drumoff=%d, result=%ld",
-    *nslots, sdp->swd_dev, sdp->swd_drumoffset, result);
-panic("uvm_swap_alloc:  allocating unmapped swap block!");
-       }
-}
-#endif
                        return(result + sdp->swd_drumoffset);
                }
        }



Home | Main Index | Thread Index | Old Index