summaryrefslogtreecommitdiff
path: root/src/journal/journald-context.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2022-12-23 18:49:02 +0100
committerLennart Poettering <lennart@poettering.net>2022-12-23 23:26:26 +0100
commit8656f4a6ae22f021311dddbea3c8e1b9f517e843 (patch)
tree6a702cabd7496444314a65efe43e3f742d8544d4 /src/journal/journald-context.c
parentb892124bdcd96edca41b88fa89ef2d576ad7eacd (diff)
downloadsystemd-8656f4a6ae22f021311dddbea3c8e1b9f517e843.tar.gz
prioq: make prioq_reshuffle() void
We never use the return value, and it's confusing and kinda pointless what we return there. Hence drop it. Originally noticed by: tristone13th <tristone13th@outlook.com> Alternative to: #25810
Diffstat (limited to 'src/journal/journald-context.c')
-rw-r--r--src/journal/journald-context.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/journal/journald-context.c b/src/journal/journald-context.c
index 55e657c7e1..5f0c638d47 100644
--- a/src/journal/journald-context.c
+++ b/src/journal/journald-context.c
@@ -540,7 +540,7 @@ static void client_context_really_refresh(
if (c->in_lru) {
assert(c->n_ref == 0);
- assert_se(prioq_reshuffle(s->client_contexts_lru, c, &c->lru_index) >= 0);
+ prioq_reshuffle(s->client_contexts_lru, c, &c->lru_index);
}
}