summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/basic/io-util.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/basic/io-util.c b/src/basic/io-util.c
index cc6dfa8c1..2141634da 100644
--- a/src/basic/io-util.c
+++ b/src/basic/io-util.c
@@ -199,7 +199,6 @@ int fd_wait_for_event(int fd, int event, usec_t t) {
r = ppoll(&pollfd, 1, t == USEC_INFINITY ? NULL : timespec_store(&ts, t), NULL);
if (r < 0)
return -errno;
-
if (r == 0)
return 0;