tree-wide: drop unused reference to DecryptedImage

This commit is contained in:
Yu Watanabe
2022-09-18 23:47:20 +09:00
parent 3044d343dd
commit e330f97a89
15 changed files with 31 additions and 76 deletions
+1 -3
View File
@@ -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;