diff options
author | Lennart Poettering <lennart@poettering.net> | 2020-04-24 23:38:47 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2020-05-07 14:39:44 +0200 |
commit | 0d9d333672167f7c4586c1708eee53066ce8f55d (patch) | |
tree | 9e67d25640291b4cc5da7015323270963d0f51aa /src/portable | |
parent | a258f4915a2674d77e656755e5a4fa23059f778a (diff) | |
download | systemd-0d9d333672167f7c4586c1708eee53066ce8f55d.tar.gz |
tree-wide: remove redundant assignments
We already initialize the fields a few lines up to the very same values,
hence remove this.
Diffstat (limited to 'src/portable')
-rw-r--r-- | src/portable/portable.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/portable/portable.c b/src/portable/portable.c index 49087179c8..4a881460db 100644 --- a/src/portable/portable.c +++ b/src/portable/portable.c @@ -155,7 +155,6 @@ static int send_item( cmsg->cmsg_len = CMSG_LEN(sizeof(int)); memcpy(CMSG_DATA(cmsg), &data_fd, sizeof(int)); - mh.msg_controllen = CMSG_SPACE(sizeof(int)); iovec = IOVEC_MAKE_STRING(name); if (sendmsg(socket_fd, &mh, MSG_NOSIGNAL) < 0) |