ao_pipewire: remove unneeded goto

This commit is contained in:
Thomas Weißschuh 2023-02-03 16:25:24 +00:00 committed by Philip Langdale
parent c8d9155c56
commit b0fb6999a4
1 changed files with 2 additions and 2 deletions

View File

@ -712,10 +712,10 @@ static void hotplug_registry_global_remove_cb(void *data, uint32_t id)
removed_sink = true; removed_sink = true;
spa_list_remove(&e->node); spa_list_remove(&e->node);
talloc_free(e); talloc_free(e);
goto done; break;
} }
} }
done:
pw_thread_loop_unlock(priv->loop); pw_thread_loop_unlock(priv->loop);
if (removed_sink) if (removed_sink)