mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -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
|
|
@ -848,10 +848,6 @@ int pipewire__module_init(struct pw_impl_module *module, const char *args)
|
|||
pw_impl_module_update_properties(module, &SPA_DICT_INIT_ARRAY(module_props));
|
||||
|
||||
impl->work_queue = pw_context_get_work_queue(context);
|
||||
if (impl->work_queue == NULL) {
|
||||
res = -errno;
|
||||
goto error_free;
|
||||
}
|
||||
|
||||
if ((res = parse_params(impl)) < 0)
|
||||
goto error_free;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue