From 8c026b9562dbdfc222bcd637dfb85b85f4e95412 Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Wed, 13 Mar 2019 14:31:57 +0100 Subject: [PATCH] alsactl: monitor - remove dead code in run_dispatcher() (coverity) Signed-off-by: Jaroslav Kysela --- alsactl/monitor.c | 2 -- 1 file changed, 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);