mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-01 22:58:50 -04:00
remove some useless checks
The variable was already dereferenced above and thus can't be NULL
This commit is contained in:
parent
e7ca1b474e
commit
ae22852a9b
2 changed files with 2 additions and 2 deletions
|
|
@ -574,7 +574,7 @@ static void profile_set_available(pa_card *impl, uint32_t index,
|
|||
|
||||
p->available = status;
|
||||
|
||||
if (emit && impl && impl->events && impl->events->profile_available)
|
||||
if (emit && impl->events && impl->events->profile_available)
|
||||
impl->events->profile_available(impl->user_data, index,
|
||||
old, status);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue