mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	pipewire: remove work queue checks
Since now `pw_context_get_work_queue()` cannot fail, the checks can be removed.
This commit is contained in:
		
							parent
							
								
									eae6517c84
								
							
						
					
					
						commit
						4d4c6f20df
					
				
					 16 changed files with 1 additions and 71 deletions
				
			
		| 
						 | 
				
			
			@ -399,11 +399,6 @@ int pipewire__module_init(struct pw_impl_module *module, const char *args)
 | 
			
		|||
	impl->module = module;
 | 
			
		||||
	impl->context = context;
 | 
			
		||||
	impl->work = pw_context_get_work_queue(context);
 | 
			
		||||
	if (impl->work == NULL) {
 | 
			
		||||
		res = -errno;
 | 
			
		||||
		pw_log_error( "can't get work queue: %m");
 | 
			
		||||
		goto error;
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	if (pw_properties_get(props, PW_KEY_NODE_GROUP) == NULL)
 | 
			
		||||
		pw_properties_set(props, PW_KEY_NODE_GROUP, "pipewire.dummy");
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue