summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaroslav Kysela <perex@perex.cz>2001-09-03 12:16:38 +0000
committerJaroslav Kysela <perex@perex.cz>2001-09-03 12:16:38 +0000
commit29faa915db2b34328d26397543ac4f49a7d08cc6 (patch)
treec0fdd831cf4933da37bc7846bbc011601fff81cc
parentea8fe975d983f13dbdb275460f53772ed453bf46 (diff)
Removed unused stuff for poll
-rw-r--r--alsamixer/alsamixer.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/alsamixer/alsamixer.c b/alsamixer/alsamixer.c
index df1a8ea..92be224 100644
--- a/alsamixer/alsamixer.c
+++ b/alsamixer/alsamixer.c
@@ -1490,7 +1490,6 @@ mixer_add_delta(int delta)
static int
mixer_iteration (void)
{
- struct timeval delay = { 0, 0 };
int idx, count, err;
struct pollfd *fds;
int finished = 0;
@@ -1510,9 +1509,6 @@ mixer_iteration (void)
if (err != count)
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);
/* don't abort on handled signals */