summaryrefslogtreecommitdiffstats
path: root/pulse/ctl_pulse.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2008-08-22 00:08:53 +0200
committerLennart Poettering <lennart@poettering.net>2008-09-03 20:25:36 +0200
commitf5d1f3be98d95bec41f64d0568accddce8c2f212 (patch)
treece8523538cd66751d5d29d1647b6b16a6d62a9a6 /pulse/ctl_pulse.c
parent4902e7a9e83d48398cd84b28e00daa837555b83e (diff)
Get rid of pulse_poll_revents()
pulse_poll_revents() has no real purpose, so let's remove it.
Diffstat (limited to 'pulse/ctl_pulse.c')
-rw-r--r--pulse/ctl_pulse.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/pulse/ctl_pulse.c b/pulse/ctl_pulse.c
index daffd3b..aa8c284 100644
--- a/pulse/ctl_pulse.c
+++ b/pulse/ctl_pulse.c
@@ -554,16 +554,11 @@ static int pulse_ctl_poll_revents(snd_ctl_ext_t * ext, struct pollfd *pfd,
pa_threaded_mainloop_lock(ctl->p->mainloop);
- err = pulse_poll_revents(ctl->p, pfd, nfds, revents);
- if (err < 0)
- goto finish;
-
*revents = 0;
if (ctl->updated)
*revents |= POLLIN;
- finish:
pa_threaded_mainloop_unlock(ctl->p->mainloop);
return err;