summaryrefslogtreecommitdiff
path: root/src/libsystemd-bus/bus-control.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libsystemd-bus/bus-control.c')
-rw-r--r--src/libsystemd-bus/bus-control.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/libsystemd-bus/bus-control.c b/src/libsystemd-bus/bus-control.c
index 9e815a6c94..0fc2b1a67d 100644
--- a/src/libsystemd-bus/bus-control.c
+++ b/src/libsystemd-bus/bus-control.c
@@ -426,11 +426,6 @@ static int bus_get_owner_kdbus(
}
cmd->size = size;
-
- r = kdbus_translate_attach_flags(mask, (uint64_t*) &cmd->attach_flags);
- if (r < 0)
- return r;
-
r = ioctl(bus->input_fd, KDBUS_CMD_NAME_INFO, cmd);
if (r < 0)
return -errno;