From 9023266a0ef568cdd78fff2a150ec372a74778ca Mon Sep 17 00:00:00 2001 From: Daan De Meyer Date: Fri, 30 Aug 2024 12:15:15 +0200 Subject: repart: Remove unused Context argument from make_subvolumes_set() --- src/partition/repart.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/partition') 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; -- cgit v1.2.3