diff options
author | Lennart Poettering <lennart@poettering.net> | 2022-12-23 18:49:02 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2022-12-23 23:26:26 +0100 |
commit | 8656f4a6ae22f021311dddbea3c8e1b9f517e843 (patch) | |
tree | 6a702cabd7496444314a65efe43e3f742d8544d4 /src/journal | |
parent | b892124bdcd96edca41b88fa89ef2d576ad7eacd (diff) | |
download | systemd-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')
-rw-r--r-- | src/journal/journald-context.c | 2 |
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); } } |