tree-wide: various fixlets suggested by Coccinelle

This commit is contained in:
Frantisek Sumsal
2026-03-05 10:27:58 +01:00
parent a8335fb91f
commit 90f5d2a202
24 changed files with 29 additions and 48 deletions
+1 -3
View File
@@ -1150,10 +1150,8 @@ int flush_accept(int fd) {
r = fd_wait_for_event(fd, POLLIN, 0);
if (r == -EINTR)
continue;
if (r < 0)
if (r <= 0)
return r;
if (r == 0)
return 0;
if (iteration >= MAX_FLUSH_ITERATIONS)
return log_debug_errno(SYNTHETIC_ERRNO(EBUSY),