xprt: remove redundant check
remove redundant check. Signed-off-by: Jinqiu Yang <crindy646@gmail.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
This commit is contained in:
		
					parent
					
						
							
								a8de240a90
							
						
					
				
			
			
				commit
				
					
						ba3c578de2
					
				
			
		
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -212,7 +212,7 @@ out_sleep:
 | 
			
		|||
			task->tk_pid, xprt);
 | 
			
		||||
	task->tk_timeout = 0;
 | 
			
		||||
	task->tk_status = -EAGAIN;
 | 
			
		||||
	if (req && req->rq_ntrans)
 | 
			
		||||
	if (req->rq_ntrans)
 | 
			
		||||
		rpc_sleep_on(&xprt->resend, task, NULL);
 | 
			
		||||
	else
 | 
			
		||||
		rpc_sleep_on(&xprt->sending, task, NULL);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue