mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-11-10 07:35:42 +01:00
Removed unused stuff for poll
This commit is contained in:
parent
ea8fe975d9
commit
29faa915db
1 changed files with 0 additions and 4 deletions
|
@ -1490,7 +1490,6 @@ mixer_add_delta(int delta)
|
||||||
static int
|
static int
|
||||||
mixer_iteration (void)
|
mixer_iteration (void)
|
||||||
{
|
{
|
||||||
struct timeval delay = { 0, 0 };
|
|
||||||
int idx, count, err;
|
int idx, count, err;
|
||||||
struct pollfd *fds;
|
struct pollfd *fds;
|
||||||
int finished = 0;
|
int finished = 0;
|
||||||
|
@ -1510,9 +1509,6 @@ mixer_iteration (void)
|
||||||
if (err != count)
|
if (err != count)
|
||||||
mixer_abort (ERR_FCN, "snd_mixer_poll_descriptors (err != count)", 0);
|
mixer_abort (ERR_FCN, "snd_mixer_poll_descriptors (err != count)", 0);
|
||||||
|
|
||||||
delay.tv_sec = 0;
|
|
||||||
delay.tv_usec = 0 * 100 * 1000;
|
|
||||||
|
|
||||||
finished = poll(fds, count + 1, -1);
|
finished = poll(fds, count + 1, -1);
|
||||||
|
|
||||||
/* don't abort on handled signals */
|
/* don't abort on handled signals */
|
||||||
|
|
Loading…
Reference in a new issue