pipewire: module-netjack2-driver: remove unused module_schedule_destroy()

This commit is contained in:
Barnabás Pőcze 2023-07-01 22:44:02 +02:00
parent 0a00d9c4d7
commit 34809d3081

View file

@ -685,20 +685,6 @@ on_data_io(void *data, int fd, uint32_t mask)
}
}
static int
do_schedule_destroy(struct spa_loop *loop,
bool async, uint32_t seq, const void *data, size_t size, void *user_data)
{
struct impl *impl = user_data;
pw_impl_module_schedule_destroy(impl->module);
return 0;
}
void module_schedule_destroy(struct impl *impl)
{
pw_loop_invoke(impl->main_loop, do_schedule_destroy, 1, NULL, 0, false, impl);
}
static int parse_address(const char *address, uint16_t port,
struct sockaddr_storage *addr, socklen_t *len)
{