Blame SOURCES/0057-fs-ntfs3-Remove-braces-from-single-statment-block.patch

Kmods SIG d83023
From 2829e39e0e8add377508b3c6ef4cf48e6db324fb Mon Sep 17 00:00:00 2001
Kmods SIG d83023
From: Kari Argillander <kari.argillander@gmail.com>
Kmods SIG d83023
Date: Tue, 7 Sep 2021 11:34:40 +0300
Kmods SIG d83023
Subject: [Backport 2829e39e0e8a] src: Remove braces from single statment
Kmods SIG d83023
 block
Kmods SIG d83023
Kmods SIG d83023
Remove braces from single statment block as they are not needed. Also
Kmods SIG d83023
Linux kernel coding style guide recommend this and checkpatch warn about
Kmods SIG d83023
this.
Kmods SIG d83023
Kmods SIG d83023
Signed-off-by: Kari Argillander <kari.argillander@gmail.com>
Kmods SIG d83023
Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
Kmods SIG d83023
---
Kmods SIG d83023
 src/frecord.c | 3 +--
Kmods SIG d83023
 1 file changed, 1 insertion(+), 2 deletions(-)
Kmods SIG d83023
Kmods SIG d83023
diff --git a/src/frecord.c b/src/frecord.c
Kmods SIG d83023
index 2f8af53da219c3486f2d5eef5d2f5a136c126b9e..1e1a09034f65b023872d86b866ee5b3907634506 100644
Kmods SIG d83023
--- a/src/frecord.c
Kmods SIG d83023
+++ b/src/frecord.c
Kmods SIG d83023
@@ -2903,9 +2903,8 @@ bool ni_remove_name_undo(struct ntfs_inode *dir_ni, struct ntfs_inode *ni,
Kmods SIG d83023
 		memcpy(Add2Ptr(attr, SIZEOF_RESIDENT), de + 1, de_key_size);
Kmods SIG d83023
 		mi_get_ref(&ni->mi, &de->ref);
Kmods SIG d83023
 
Kmods SIG d83023
-		if (indx_insert_entry(&dir_ni->dir, dir_ni, de, sbi, NULL, 1)) {
Kmods SIG d83023
+		if (indx_insert_entry(&dir_ni->dir, dir_ni, de, sbi, NULL, 1))
Kmods SIG d83023
 			return false;
Kmods SIG d83023
-		}
Kmods SIG d83023
 	}
Kmods SIG d83023
 
Kmods SIG d83023
 	return true;
Kmods SIG d83023
-- 
Kmods SIG d83023
2.31.1
Kmods SIG d83023