a few nits
passes all tests on two-processor smp
This commit is contained in:
parent
b364c4b881
commit
af03ab142d
3 changed files with 1 additions and 4 deletions
2
kalloc.c
2
kalloc.c
|
@ -111,8 +111,6 @@ kalloc(int n)
|
|||
}
|
||||
}
|
||||
release(&kmem.lock);
|
||||
|
||||
cprintf("kalloc: out of memory\n");
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue