mirror of
				https://git.kernel.org/pub/scm/network/wireless/iwd.git
				synced 2025-10-31 04:57:25 +01:00 
			
		
		
		
	agent: Simplify loop exit handling
This commit is contained in:
		
							parent
							
								
									653019c263
								
							
						
					
					
						commit
						df911c0cf6
					
				| @ -366,10 +366,8 @@ bool agent_request_cancel(unsigned int req_id, int reason) | ||||
| 
 | ||||
| 		request = l_queue_remove_if(agent->requests, find_request, | ||||
| 							L_UINT_TO_PTR(req_id)); | ||||
| 		if (!request) | ||||
| 			continue; | ||||
| 
 | ||||
| 		break; | ||||
| 		if (request) | ||||
| 			break; | ||||
| 	} | ||||
| 
 | ||||
| 	if (!request) | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Marcel Holtmann
						Marcel Holtmann