mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
spa-node: remove unused factory_name
This commit is contained in:
parent
42dd52c7fe
commit
f8186665d9
1 changed files with 2 additions and 8 deletions
|
|
@ -44,9 +44,8 @@ struct impl {
|
||||||
|
|
||||||
enum pw_spa_node_flags flags;
|
enum pw_spa_node_flags flags;
|
||||||
|
|
||||||
struct spa_handle *handle;
|
struct spa_handle *handle;
|
||||||
struct spa_node *node; /**< handle to SPA node */
|
struct spa_node *node; /**< handle to SPA node */
|
||||||
char *factory_name;
|
|
||||||
|
|
||||||
struct spa_hook node_listener;
|
struct spa_hook node_listener;
|
||||||
int init_pending;
|
int init_pending;
|
||||||
|
|
@ -66,7 +65,6 @@ static void spa_node_free(void *data)
|
||||||
spa_hook_remove(&impl->node_listener);
|
spa_hook_remove(&impl->node_listener);
|
||||||
if (impl->handle)
|
if (impl->handle)
|
||||||
pw_unload_spa_handle(impl->handle);
|
pw_unload_spa_handle(impl->handle);
|
||||||
free(impl->factory_name);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void complete_init(struct impl *impl)
|
static void complete_init(struct impl *impl)
|
||||||
|
|
@ -242,7 +240,6 @@ struct pw_impl_node *pw_spa_node_load(struct pw_context *context,
|
||||||
size_t user_data_size)
|
size_t user_data_size)
|
||||||
{
|
{
|
||||||
struct pw_impl_node *this;
|
struct pw_impl_node *this;
|
||||||
struct impl *impl;
|
|
||||||
struct spa_node *spa_node;
|
struct spa_node *spa_node;
|
||||||
int res;
|
int res;
|
||||||
struct spa_handle *handle;
|
struct spa_handle *handle;
|
||||||
|
|
@ -279,9 +276,6 @@ struct pw_impl_node *pw_spa_node_load(struct pw_context *context,
|
||||||
goto error_exit_unload;
|
goto error_exit_unload;
|
||||||
}
|
}
|
||||||
|
|
||||||
impl = pw_impl_node_get_user_data(this);
|
|
||||||
impl->factory_name = strdup(factory_name);
|
|
||||||
|
|
||||||
return this;
|
return this;
|
||||||
|
|
||||||
error_exit_unload:
|
error_exit_unload:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue