summaryrefslogtreecommitdiffstats
path: root/src/sysusers
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/sysusers
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/sysusers')
-rw-r--r--src/sysusers/sysusers.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/sysusers/sysusers.c b/src/sysusers/sysusers.c
index 6f66f087cb..08b005e6be 100644
--- a/src/sysusers/sysusers.c
+++ b/src/sysusers/sysusers.c
@@ -2081,7 +2081,6 @@ static int read_credential_lines(void) {
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_close_ int lock = -1;
@@ -2116,8 +2115,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;