summaryrefslogtreecommitdiffstats
path: root/src/shared
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2023-06-27 14:39:33 +0200
committerDavid Tardon <dtardon@redhat.com>2023-07-13 16:00:06 +0200
commit8f7195ef3c1caebf4d55d9436b32ff81cb928b6c (patch)
tree92913c121c8b0a5cfce3888c4fa1e57b433978f6 /src/shared
parentbus-polkit: use automatic cleanup (diff)
downloadsystemd-8f7195ef3c1caebf4d55d9436b32ff81cb928b6c.tar.xz
systemd-8f7195ef3c1caebf4d55d9436b32ff81cb928b6c.zip
bus-polkit: drop unused argument
Diffstat (limited to 'src/shared')
-rw-r--r--src/shared/bus-polkit.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/shared/bus-polkit.c b/src/shared/bus-polkit.c
index 879d3c2890..904d775c17 100644
--- a/src/shared/bus-polkit.c
+++ b/src/shared/bus-polkit.c
@@ -266,7 +266,6 @@ static int process_polkit_response(
sd_bus_message *call,
const char *action,
const char **details,
- Hashmap **registry,
sd_bus_error *ret_error) {
int authorized, challenge, r;
@@ -274,7 +273,6 @@ static int process_polkit_response(
assert(q);
assert(call);
assert(action);
- assert(registry);
assert(ret_error);
assert(q->action);
@@ -342,7 +340,7 @@ int bus_verify_polkit_async(
/* This is the second invocation of this function, and there's already a response from
* polkit, let's process it */
if (q)
- return process_polkit_response(q, call, action, details, registry, ret_error);
+ return process_polkit_response(q, call, action, details, ret_error);
#endif
r = sd_bus_query_sender_privilege(call, capability);