diff options
author | Daan De Meyer <daan.j.demeyer@gmail.com> | 2024-08-30 12:15:15 +0200 |
---|---|---|
committer | Daan De Meyer <daan.j.demeyer@gmail.com> | 2024-08-30 12:15:36 +0200 |
commit | 9023266a0ef568cdd78fff2a150ec372a74778ca (patch) | |
tree | c33d4e24342c5b48b4af0aad6772e327bbfd4ef3 /src/partition/repart.c | |
parent | repart: Fix memory leak (diff) | |
download | systemd-9023266a0ef568cdd78fff2a150ec372a74778ca.tar.xz systemd-9023266a0ef568cdd78fff2a150ec372a74778ca.zip |
repart: Remove unused Context argument from make_subvolumes_set()
Diffstat (limited to 'src/partition/repart.c')
-rw-r--r-- | src/partition/repart.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/partition/repart.c b/src/partition/repart.c index 00b73904a3..07029cb142 100644 --- a/src/partition/repart.c +++ b/src/partition/repart.c @@ -4820,7 +4820,6 @@ static int add_subvolume_path(const char *path, Set **subvolumes) { } static int make_subvolumes_set( - Context *context, const Partition *p, const char *source, const char *target, @@ -4828,7 +4827,6 @@ static int make_subvolumes_set( _cleanup_set_free_ Set *subvolumes = NULL; int r; - assert(context); assert(p); assert(target); assert(ret); @@ -4918,7 +4916,7 @@ static int do_copy_files(Context *context, Partition *p, const char *root) { if (r < 0) return r; - r = make_subvolumes_set(context, p, *source, *target, &subvolumes_by_source_inode); + r = make_subvolumes_set(p, *source, *target, &subvolumes_by_source_inode); if (r < 0) return r; |