From 74c82bc1584dda4cee6b0788055a52c32a10b2e0 Mon Sep 17 00:00:00 2001 From: Frans Kaashoek Date: Fri, 2 Jul 2010 17:45:37 -0400 Subject: nits --- kalloc.c | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'kalloc.c') diff --git a/kalloc.c b/kalloc.c index 200ea8d..7f47853 100644 --- a/kalloc.c +++ b/kalloc.c @@ -23,16 +23,6 @@ struct { int nfreemem; -static void -printfreelist(void) -{ - struct run *r, **rp; - cprintf("freelist:\n"); - for(rp=&kmem.freelist; (r=*rp) != 0; rp=&r->next){ - cprintf("0x%x %d=0x%x\n", r, r->len, r->len); - } -} - // Initialize free list of physical pages. // This code cheats by just considering one megabyte of // pages after end. Real systems would determine the -- cgit v1.2.3