]> Zhao Yanbai Git Server - minix.git/commitdiff
coverity appeasement - redundant check
authorBen Gras <ben@minix3.org>
Wed, 19 Sep 2012 15:18:02 +0000 (17:18 +0200)
committerBen Gras <ben@minix3.org>
Wed, 19 Sep 2012 15:19:57 +0000 (17:19 +0200)
servers/vm/alloc.c

index 5dbcbaa27f6beeaf3521fca2677d1f7c92653058..d635247444ee398b10868740786f4d6a9ac7870e 100644 (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;
        }