diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2020-04-06 01:29:12 +0200 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2020-04-06 01:29:12 +0200 |
commit | 9e2344a5be97b416c73c81f01913702fd6d2da6c (patch) | |
tree | 8f4ff3711baf083a021cb15b47f0a3ad22a05eaf /sys/src/9 | |
parent | a35cd0f861b6ded0811b5c365635e53710d0e157 (diff) |
pc64: remove rampage() nil check
rampage() never returns nil
Diffstat (limited to 'sys/src/9')
-rw-r--r-- | sys/src/9/pc64/mmu.c | 2 |
1 files changed, 0 insertions, 2 deletions
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)) |