]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
repart: Remove redundant parentheses in partition_populate_directory()
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Mon, 21 Nov 2022 09:53:23 +0000 (10:53 +0100)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Mon, 21 Nov 2022 09:53:23 +0000 (10:53 +0100)
src/partition/repart.c

index 8249a82043d6769909a1594564c4a1fb8fcefa8e..9a6bbdfb32f068e1e2d55e5c60703973e0f52c7f 100644 (file)
@@ -3786,7 +3786,7 @@ static int partition_populate_directory(Partition *p, const Set *denylist, char
 
         assert(ret);
 
-        if ((strv_isempty(p->copy_files) && strv_isempty(p->make_directories))) {
+        if (strv_isempty(p->copy_files) && strv_isempty(p->make_directories)) {
                 *ret = NULL;
                 return 0;
         }