simplify some code

This commit is contained in:
Lennart Poettering 2009-02-20 21:39:46 +01:00
parent 9f89907bfa
commit ed67b07c41

View file

@ -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
}