mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-02 09:01:46 -05:00
simplify some code
This commit is contained in:
parent
9f89907bfa
commit
ed67b07c41
1 changed files with 44 additions and 47 deletions
|
|
@ -478,7 +478,8 @@ static void update_timer(pa_rtpoll *p) {
|
|||
#ifdef HAVE_PPOLL
|
||||
|
||||
#ifdef __linux__
|
||||
if (!p->dont_use_ppoll) {
|
||||
if (p->dont_use_ppoll)
|
||||
return;
|
||||
#endif
|
||||
|
||||
if (p->timer == (timer_t) -1) {
|
||||
|
|
@ -528,10 +529,6 @@ static void update_timer(pa_rtpoll *p) {
|
|||
p->timer_armed = p->timer_enabled;
|
||||
}
|
||||
|
||||
#ifdef __linux__
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue