summaryrefslogtreecommitdiffstats
path: root/src/resolve/resolved-manager.c
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2022-10-20 12:39:07 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2022-10-20 12:57:31 +0200
commit983e637872672c3a68d77180478db377060b6b9e (patch)
tree5f791a90440252d4b99f91c5d39153a3c1f98116 /src/resolve/resolved-manager.c
parenttree-wide: inline declarations of sd_netlink_message iterators (diff)
downloadsystemd-983e637872672c3a68d77180478db377060b6b9e.tar.xz
systemd-983e637872672c3a68d77180478db377060b6b9e.zip
resolved: drop unnecessary empty lines
Diffstat (limited to 'src/resolve/resolved-manager.c')
-rw-r--r--src/resolve/resolved-manager.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/resolve/resolved-manager.c b/src/resolve/resolved-manager.c
index 316e2ea403..f62efa87aa 100644
--- a/src/resolve/resolved-manager.c
+++ b/src/resolve/resolved-manager.c
@@ -876,10 +876,8 @@ static int sendmsg_loop(int fd, struct msghdr *mh, int flags) {
for (;;) {
if (sendmsg(fd, mh, flags) >= 0)
return 0;
-
if (errno == EINTR)
continue;
-
if (errno != EAGAIN)
return -errno;
@@ -900,10 +898,8 @@ static int write_loop(int fd, void *message, size_t length) {
for (;;) {
if (write(fd, message, length) >= 0)
return 0;
-
if (errno == EINTR)
continue;
-
if (errno != EAGAIN)
return -errno;