]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/machine-id-setup/machine-id-setup-main.c
tree-wide: drop unused reference to DecryptedImage
[thirdparty/systemd.git] / src / machine-id-setup / machine-id-setup-main.c
index 44fcdaae8194a7448f41c58596007cdf45deae44..8a3b1efb4ce407dc92e9cc28d3a3db4b2c1da63c 100644 (file)
@@ -125,7 +125,6 @@ static int parse_argv(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;
         sd_id128_t id;
         int r;
@@ -148,8 +147,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;