module-protocol-pulse: Clean up unused #define ERROR_RETURN

This commit is contained in:
Sanchayan Maity 2021-06-15 10:53:21 +05:30
parent b6559289f1
commit 4be1981f54
10 changed files with 0 additions and 70 deletions

View file

@ -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;

View file

@ -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;

View file

@ -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;

View file

@ -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;

View file

@ -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;

View file

@ -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;

View file

@ -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;

View file

@ -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;

View file

@ -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;

View file

@ -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;