From: Yu Watanabe Date: Tue, 6 Sep 2022 13:39:31 +0000 (+0900) Subject: dissect-image: drop currently unused arguments X-Git-Tag: v252-rc1~236^2~2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=bec0c37c9eb8174ca92f98547169c082fd6d2854;p=thirdparty%2Fsystemd.git dissect-image: drop currently unused arguments --- diff --git a/src/shared/dissect-image.c b/src/shared/dissect-image.c index d69a7bebc4c..06f2037952f 100644 --- a/src/shared/dissect-image.c +++ b/src/shared/dissect-image.c @@ -196,9 +196,6 @@ int dissect_image( const char *image_path, const VeritySettings *verity, const MountOptions *mount_options, - uint64_t diskseq, - uint64_t uevent_seqnum_not_before, - usec_t timestamp_not_before, DissectImageFlags flags, DissectedImage **ret) { diff --git a/src/shared/dissect-image.h b/src/shared/dissect-image.h index 39af311833d..b9aa3ad63ac 100644 --- a/src/shared/dissect-image.h +++ b/src/shared/dissect-image.h @@ -258,14 +258,11 @@ int dissect_image( const char *image_path, const VeritySettings *verity, const MountOptions *mount_options, - uint64_t diskseq, - uint64_t uevent_seqnum_not_before, - usec_t timestamp_not_before, DissectImageFlags flags, DissectedImage **ret); static inline int dissect_loop_device(const LoopDevice *loop, const VeritySettings *verity, const MountOptions *mount_options, DissectImageFlags flags, DissectedImage **ret) { assert(loop); - return dissect_image(loop->fd, loop->backing_file ?: loop->node, verity, mount_options, loop->diskseq, loop->uevent_seqnum_not_before, loop->timestamp_not_before, flags, ret); + return dissect_image(loop->fd, loop->backing_file ?: loop->node, verity, mount_options, flags, ret); } int dissect_loop_device_and_warn(const LoopDevice *loop, const VeritySettings *verity, const MountOptions *mount_options, DissectImageFlags flags, DissectedImage **ret);