From: Ben Gras Date: Wed, 19 Sep 2012 15:18:02 +0000 (+0200) Subject: coverity appeasement - redundant check X-Git-Tag: v3.2.1~314 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/Bv9ARM.ch13.html?a=commitdiff_plain;h=bc4c07f4f107c987d261fa8ea41020dbea3f7d6a;p=minix.git coverity appeasement - redundant check --- diff --git a/servers/vm/alloc.c b/servers/vm/alloc.c index 5dbcbaa27..d63524744 100644 --- a/servers/vm/alloc.c +++ b/servers/vm/alloc.c @@ -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; }