mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
alsa: remove unused res variable in alsa_on_timeout_event
This commit is contained in:
parent
5ee9133b60
commit
252e798ece
1 changed files with 1 additions and 2 deletions
|
|
@ -1456,14 +1456,13 @@ static void alsa_on_timeout_event(struct spa_source *source)
|
|||
struct state *state = source->data;
|
||||
snd_pcm_uframes_t delay, target;
|
||||
uint64_t expire;
|
||||
int res;
|
||||
|
||||
if (SPA_UNLIKELY(state->started && spa_system_timerfd_read(state->data_system, state->timerfd, &expire) < 0))
|
||||
spa_log_warn(state->log, NAME" %p: error reading timerfd: %m", state);
|
||||
|
||||
check_position_config(state);
|
||||
|
||||
if (SPA_UNLIKELY((res = get_status(state, &delay, &target)) < 0))
|
||||
if (SPA_UNLIKELY(get_status(state, &delay, &target) < 0))
|
||||
return;
|
||||
|
||||
state->current_time = state->next_time;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue