small cleanups

This commit is contained in:
Wim Taymans 2018-07-08 15:23:56 +02:00
parent 3f45ccd6a5
commit 33427b4cd3
2 changed files with 4 additions and 15 deletions

View file

@ -1138,16 +1138,6 @@ static const struct pw_node_events output_node_events = {
.async_complete = output_node_async_complete,
};
static inline void
move_graph(struct spa_graph *dst, struct spa_graph *src)
{
struct spa_graph_node *n, *t;
spa_list_for_each_safe(n, t, &src->nodes, link) {
spa_graph_node_remove(n);
spa_graph_node_add(dst, n);
}
}
static int find_driver(struct pw_link *this)
{
struct pw_node *out_driver, *in_driver;