forked from mirrors/linux
		
	ipv4: removed redundant conditional
Since fib_lookup cannot return ESRCH no longer, checking for this error code is no longer neccesary. Signed-off-by: Niv Yehezkel <executerx@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
		
							parent
							
								
									10b0046685
								
							
						
					
					
						commit
						b7a71b51ee
					
				
					 1 changed files with 0 additions and 2 deletions
				
			
		| 
						 | 
					@ -1798,8 +1798,6 @@ out:	return err;
 | 
				
			||||||
no_route:
 | 
					no_route:
 | 
				
			||||||
	RT_CACHE_STAT_INC(in_no_route);
 | 
						RT_CACHE_STAT_INC(in_no_route);
 | 
				
			||||||
	res.type = RTN_UNREACHABLE;
 | 
						res.type = RTN_UNREACHABLE;
 | 
				
			||||||
	if (err == -ESRCH)
 | 
					 | 
				
			||||||
		err = -ENETUNREACH;
 | 
					 | 
				
			||||||
	goto local_input;
 | 
						goto local_input;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	/*
 | 
						/*
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue