coverity appeasement - redundant check

This commit is contained in:
Ben Gras 2012-09-19 17:18:02 +02:00
parent 60014efb3e
commit bc4c07f4f1

View file

@ -377,11 +377,6 @@ struct memlist *alloc_mem_in_list(phys_bytes bytes, u32_t flags, phys_bytes know
assert(!(flags & PAF_CONTIG));
if(known != MAP_NONE) {
if(known == NO_MEM) {
printf("VM: odd mem for alloc_mem_in_list: 0x%lx\n",
known);
return NULL;
}
phys_count = known;
}