coverity appeasement - redundant check
This commit is contained in:
		
							parent
							
								
									60014efb3e
								
							
						
					
					
						commit
						bc4c07f4f1
					
				@ -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;
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user