From 9e2344a5be97b416c73c81f01913702fd6d2da6c Mon Sep 17 00:00:00 2001 From: cinap_lenrek Date: Mon, 6 Apr 2020 01:29:12 +0200 Subject: pc64: remove rampage() nil check rampage() never returns nil --- sys/src/9/pc64/mmu.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'sys/src/9/pc64') diff --git a/sys/src/9/pc64/mmu.c b/sys/src/9/pc64/mmu.c index 78725b3e4..f7c8bb7e5 100644 --- a/sys/src/9/pc64/mmu.c +++ b/sys/src/9/pc64/mmu.c @@ -299,8 +299,6 @@ ptesplit(uintptr* table, uintptr va) if(pte == nil || (*pte & PTESIZE) == 0 || (va & PGLSZ(1)-1) == 0) return; table = rampage(); - if(table == nil) - panic("ptesplit: out of memory\n"); va &= -PGLSZ(1); pa = *pte & ~PTESIZE; for(off = 0; off < PGLSZ(1); off += PGLSZ(0)) -- cgit v1.2.3