bus: catch up with kdbus
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user