diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2022-09-12 00:07:17 +0900 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2022-09-18 23:47:20 +0900 |
commit | e330f97a89607d0e0fd9e42dd151b6245d067987 (patch) | |
tree | 18b49d945d97184bdab73eb2359a95a6116300c5 /src/journal/journalctl.c | |
parent | 3044d343ddcd090214ac0fdfa2cc1a5b4da93dc1 (diff) | |
download | systemd-e330f97a89607d0e0fd9e42dd151b6245d067987.tar.gz |
tree-wide: drop unused reference to DecryptedImage
Diffstat (limited to 'src/journal/journalctl.c')
-rw-r--r-- | src/journal/journalctl.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/journal/journalctl.c b/src/journal/journalctl.c index 360e4edb3c..f3d3e2eca3 100644 --- a/src/journal/journalctl.c +++ b/src/journal/journalctl.c @@ -2095,7 +2095,6 @@ static int wait_for_change(sd_journal *j, int poll_fd) { int main(int argc, char *argv[]) { _cleanup_(loop_device_unrefp) LoopDevice *loop_device = NULL; - _cleanup_(decrypted_image_unrefp) DecryptedImage *decrypted_image = NULL; _cleanup_(umount_and_rmdir_and_freep) char *unlink_dir = NULL; bool previous_boot_id_valid = false, first_line = true, ellipsized = false, need_seek = false; bool use_cursor = false, after_cursor = false; @@ -2125,8 +2124,7 @@ int main(int argc, char *argv[]) { DISSECT_IMAGE_RELAX_VAR_CHECK | (arg_action == ACTION_UPDATE_CATALOG ? DISSECT_IMAGE_FSCK|DISSECT_IMAGE_GROWFS : DISSECT_IMAGE_READ_ONLY), &unlink_dir, - &loop_device, - &decrypted_image); + &loop_device); if (r < 0) return r; |