summaryrefslogtreecommitdiff
path: root/src/libsystemd-bus
diff options
context:
space:
mode:
Diffstat (limited to 'src/libsystemd-bus')
-rw-r--r--src/libsystemd-bus/bus-control.c5
-rw-r--r--src/libsystemd-bus/kdbus.h1
2 files changed, 0 insertions, 6 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;
diff --git a/src/libsystemd-bus/kdbus.h b/src/libsystemd-bus/kdbus.h
index 23d3c13668..838a087853 100644
--- a/src/libsystemd-bus/kdbus.h
+++ b/src/libsystemd-bus/kdbus.h
@@ -368,7 +368,6 @@ struct kdbus_name_list {
struct kdbus_cmd_name_info {
__u64 size;
__u64 flags; /* query flags */
- __u64 attach_flags; /* which meta data payload to attach */
__u64 id; /* either ID, or 0 and name follows */
__u64 offset; /* returned offset in the caller's buffer */
char name[0];