summaryrefslogtreecommitdiff
path: root/alsactl
diff options
context:
space:
mode:
authorJaroslav Kysela <perex@perex.cz>2019-03-13 14:31:57 +0100
committerJaroslav Kysela <perex@perex.cz>2019-03-13 14:46:33 +0100
commit8c026b9562dbdfc222bcd637dfb85b85f4e95412 (patch)
tree3a46557a2b055d874a73a27a317f56d005d68ed3 /alsactl
parent9b6c5e2d5c3119dbb79fc70ac8355424a8893ed0 (diff)
downloadalsa-utils-8c026b9562dbdfc222bcd637dfb85b85f4e95412.tar.gz
alsactl: monitor - remove dead code in run_dispatcher() (coverity)
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Diffstat (limited to 'alsactl')
-rw-r--r--alsactl/monitor.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/alsactl/monitor.c b/alsactl/monitor.c
index 282fb1c..6b090e4 100644
--- a/alsactl/monitor.c
+++ b/alsactl/monitor.c
@@ -369,8 +369,6 @@ static int run_dispatcher(int epfd, int sigfd, int infd, struct list_head *srcs,
remove_source_entry(entry);
}
}
- if (err < 0)
- break;
}
end:
free(epev);