Skip to content
Snippets Groups Projects
Commit 91ac7d37 authored by Tomasz Grabiec's avatar Tomasz Grabiec
Browse files

mempool: drop redundant assert

parent 6423593d
No related branches found
No related tags found
No related merge requests found
......@@ -88,9 +88,7 @@ static inline void tracker_forget(void *addr)
//
static inline unsigned mempool_cpuid() {
unsigned c = (smp_allocator ? sched::cpu::current()->id: 0);
assert(c < 64);
return c;
return (smp_allocator ? sched::cpu::current()->id: 0);
}
//
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment