forked from yuxh/gearman-go
		
	Remove duplicate locking
Fixes duplicated code after merge
This commit is contained in:
		
							parent
							
								
									7b6215604e
								
							
						
					
					
						commit
						0ca6dc2c6f
					
				@ -225,8 +225,6 @@ func (client *Client) do(funcname string, data []byte,
 | 
			
		||||
	if client.conn == nil {
 | 
			
		||||
		return "", ErrLostConn
 | 
			
		||||
	}
 | 
			
		||||
	client.Lock()
 | 
			
		||||
	defer client.Unlock()
 | 
			
		||||
	var result = make(chan handleOrError, 1)
 | 
			
		||||
	client.Lock()
 | 
			
		||||
	defer client.Unlock()
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user