summaryrefslogtreecommitdiffstats
path: root/src/tmpfiles
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2022-09-11 17:07:17 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2022-09-18 16:47:20 +0200
commite330f97a89607d0e0fd9e42dd151b6245d067987 (patch)
tree18b49d945d97184bdab73eb2359a95a6116300c5 /src/tmpfiles
parenttree-wide: use dissected_image_relinquish() (diff)
downloadsystemd-e330f97a89607d0e0fd9e42dd151b6245d067987.tar.xz
systemd-e330f97a89607d0e0fd9e42dd151b6245d067987.zip
tree-wide: drop unused reference to DecryptedImage
Diffstat (limited to 'src/tmpfiles')
-rw-r--r--src/tmpfiles/tmpfiles.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/tmpfiles/tmpfiles.c b/src/tmpfiles/tmpfiles.c
index d27dc39a1c..7e99921db9 100644
--- a/src/tmpfiles/tmpfiles.c
+++ b/src/tmpfiles/tmpfiles.c
@@ -3838,7 +3838,6 @@ DEFINE_PRIVATE_HASH_OPS_WITH_VALUE_DESTRUCTOR(item_array_hash_ops, char, string_
static int run(int argc, char *argv[]) {
#ifndef STANDALONE
_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;
#endif
_cleanup_strv_free_ char **config_dirs = NULL;
@@ -3922,8 +3921,7 @@ static int run(int argc, char *argv[]) {
DISSECT_IMAGE_FSCK |
DISSECT_IMAGE_GROWFS,
&unlink_dir,
- &loop_device,
- &decrypted_image);
+ &loop_device);
if (r < 0)
return r;