mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
pipewire: remove work queue checks
Since now `pw_context_get_work_queue()` cannot fail, the checks can be removed.
This commit is contained in:
parent
eae6517c84
commit
4d4c6f20df
16 changed files with 1 additions and 71 deletions
|
|
@ -5330,8 +5330,6 @@ struct pw_protocol_pulse *pw_protocol_pulse_new(struct pw_context *context,
|
|||
impl->props = props;
|
||||
|
||||
impl->work_queue = pw_context_get_work_queue(context);
|
||||
if (impl->work_queue == NULL)
|
||||
goto error_free;
|
||||
|
||||
spa_list_init(&impl->servers);
|
||||
impl->rate_limit.interval = 2 * SPA_NSEC_PER_SEC;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue