summaryrefslogtreecommitdiff
path: root/src/boot/bootctl.c
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2022-09-12 00:07:17 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2022-09-18 23:47:20 +0900
commite330f97a89607d0e0fd9e42dd151b6245d067987 (patch)
tree18b49d945d97184bdab73eb2359a95a6116300c5 /src/boot/bootctl.c
parent3044d343ddcd090214ac0fdfa2cc1a5b4da93dc1 (diff)
downloadsystemd-e330f97a89607d0e0fd9e42dd151b6245d067987.tar.gz
tree-wide: drop unused reference to DecryptedImage
Diffstat (limited to 'src/boot/bootctl.c')
-rw-r--r--src/boot/bootctl.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/boot/bootctl.c b/src/boot/bootctl.c
index c59eb62555..b53df11764 100644
--- a/src/boot/bootctl.c
+++ b/src/boot/bootctl.c
@@ -2579,7 +2579,6 @@ static int bootctl_main(int argc, char *argv[]) {
static int run(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;
int r;
@@ -2603,8 +2602,7 @@ static int run(int argc, char *argv[]) {
DISSECT_IMAGE_GENERIC_ROOT |
DISSECT_IMAGE_RELAX_VAR_CHECK,
&unlink_dir,
- &loop_device,
- &decrypted_image);
+ &loop_device);
if (r < 0)
return r;