mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	module-protocol-pulse: Clean up unused #define ERROR_RETURN
This commit is contained in:
		
							parent
							
								
									b6559289f1
								
							
						
					
					
						commit
						4be1981f54
					
				
					 10 changed files with 0 additions and 70 deletions
				
			
		| 
						 | 
					@ -33,13 +33,6 @@
 | 
				
			||||||
#include "../module.h"
 | 
					#include "../module.h"
 | 
				
			||||||
#include "registry.h"
 | 
					#include "registry.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define ERROR_RETURN(str)		\
 | 
					 | 
				
			||||||
	{				\
 | 
					 | 
				
			||||||
		pw_log_error(str);	\
 | 
					 | 
				
			||||||
		res = -EINVAL;		\
 | 
					 | 
				
			||||||
		goto out;		\
 | 
					 | 
				
			||||||
	}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
struct module_echo_cancel_data {
 | 
					struct module_echo_cancel_data {
 | 
				
			||||||
	struct module *module;
 | 
						struct module *module;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -32,13 +32,6 @@
 | 
				
			||||||
#include "../module.h"
 | 
					#include "../module.h"
 | 
				
			||||||
#include "registry.h"
 | 
					#include "registry.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define ERROR_RETURN(str)		\
 | 
					 | 
				
			||||||
	{				\
 | 
					 | 
				
			||||||
		pw_log_error(str);	\
 | 
					 | 
				
			||||||
		res = -EINVAL;		\
 | 
					 | 
				
			||||||
		goto out;		\
 | 
					 | 
				
			||||||
	}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
struct module_ladspa_sink_data {
 | 
					struct module_ladspa_sink_data {
 | 
				
			||||||
	struct module *module;
 | 
						struct module *module;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -32,13 +32,6 @@
 | 
				
			||||||
#include "../module.h"
 | 
					#include "../module.h"
 | 
				
			||||||
#include "registry.h"
 | 
					#include "registry.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define ERROR_RETURN(str)		\
 | 
					 | 
				
			||||||
	{				\
 | 
					 | 
				
			||||||
		pw_log_error(str);	\
 | 
					 | 
				
			||||||
		res = -EINVAL;		\
 | 
					 | 
				
			||||||
		goto out;		\
 | 
					 | 
				
			||||||
	}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
struct module_ladspa_source_data {
 | 
					struct module_ladspa_source_data {
 | 
				
			||||||
	struct module *module;
 | 
						struct module *module;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -33,13 +33,6 @@
 | 
				
			||||||
#include "../module.h"
 | 
					#include "../module.h"
 | 
				
			||||||
#include "registry.h"
 | 
					#include "registry.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define ERROR_RETURN(str)		\
 | 
					 | 
				
			||||||
	{				\
 | 
					 | 
				
			||||||
		pw_log_error(str);	\
 | 
					 | 
				
			||||||
		res = -EINVAL;		\
 | 
					 | 
				
			||||||
		goto out;		\
 | 
					 | 
				
			||||||
	}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
struct module_loopback_data {
 | 
					struct module_loopback_data {
 | 
				
			||||||
	struct module *module;
 | 
						struct module *module;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -28,13 +28,6 @@
 | 
				
			||||||
#include "../pulse-server.h"
 | 
					#include "../pulse-server.h"
 | 
				
			||||||
#include "registry.h"
 | 
					#include "registry.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define ERROR_RETURN(str) 		\
 | 
					 | 
				
			||||||
	{ 				\
 | 
					 | 
				
			||||||
		pw_log_error(str); 	\
 | 
					 | 
				
			||||||
		res = -EINVAL; 		\
 | 
					 | 
				
			||||||
		goto out; 		\
 | 
					 | 
				
			||||||
	}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
struct module_native_protocol_tcp_data {
 | 
					struct module_native_protocol_tcp_data {
 | 
				
			||||||
	struct module *module;
 | 
						struct module *module;
 | 
				
			||||||
	struct pw_array servers;
 | 
						struct pw_array servers;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -32,13 +32,6 @@
 | 
				
			||||||
#include "../module.h"
 | 
					#include "../module.h"
 | 
				
			||||||
#include "registry.h"
 | 
					#include "registry.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define ERROR_RETURN(str) 		\
 | 
					 | 
				
			||||||
	{ 				\
 | 
					 | 
				
			||||||
		pw_log_error(str); 	\
 | 
					 | 
				
			||||||
		res = -EINVAL; 		\
 | 
					 | 
				
			||||||
		goto out; 		\
 | 
					 | 
				
			||||||
	}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
struct module_remap_sink_data {
 | 
					struct module_remap_sink_data {
 | 
				
			||||||
	struct module *module;
 | 
						struct module *module;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -32,13 +32,6 @@
 | 
				
			||||||
#include "../module.h"
 | 
					#include "../module.h"
 | 
				
			||||||
#include "registry.h"
 | 
					#include "registry.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define ERROR_RETURN(str) 		\
 | 
					 | 
				
			||||||
	{ 				\
 | 
					 | 
				
			||||||
		pw_log_error(str); 	\
 | 
					 | 
				
			||||||
		res = -EINVAL; 		\
 | 
					 | 
				
			||||||
		goto out; 		\
 | 
					 | 
				
			||||||
	}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
struct module_remap_source_data {
 | 
					struct module_remap_source_data {
 | 
				
			||||||
	struct module *module;
 | 
						struct module *module;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -34,13 +34,6 @@
 | 
				
			||||||
#include "../module.h"
 | 
					#include "../module.h"
 | 
				
			||||||
#include "registry.h"
 | 
					#include "registry.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define ERROR_RETURN(str)		\
 | 
					 | 
				
			||||||
	{				\
 | 
					 | 
				
			||||||
		pw_log_error(str);	\
 | 
					 | 
				
			||||||
		res = -EINVAL;		\
 | 
					 | 
				
			||||||
		goto out;		\
 | 
					 | 
				
			||||||
	}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
struct module_tunnel_sink_data {
 | 
					struct module_tunnel_sink_data {
 | 
				
			||||||
	struct module *module;
 | 
						struct module *module;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -34,13 +34,6 @@
 | 
				
			||||||
#include "../module.h"
 | 
					#include "../module.h"
 | 
				
			||||||
#include "registry.h"
 | 
					#include "registry.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define ERROR_RETURN(str)		\
 | 
					 | 
				
			||||||
	{				\
 | 
					 | 
				
			||||||
		pw_log_error(str);	\
 | 
					 | 
				
			||||||
		res = -EINVAL;		\
 | 
					 | 
				
			||||||
		goto out;		\
 | 
					 | 
				
			||||||
	}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
struct module_tunnel_source_data {
 | 
					struct module_tunnel_source_data {
 | 
				
			||||||
	struct module *module;
 | 
						struct module *module;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -30,13 +30,6 @@
 | 
				
			||||||
#include "../module.h"
 | 
					#include "../module.h"
 | 
				
			||||||
#include "registry.h"
 | 
					#include "registry.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define ERROR_RETURN(str)		\
 | 
					 | 
				
			||||||
	{				\
 | 
					 | 
				
			||||||
		pw_log_error(str);	\
 | 
					 | 
				
			||||||
		res = -EINVAL;		\
 | 
					 | 
				
			||||||
		goto out;		\
 | 
					 | 
				
			||||||
	}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
struct module_zeroconf_discover_data {
 | 
					struct module_zeroconf_discover_data {
 | 
				
			||||||
	struct module *module;
 | 
						struct module *module;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue