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

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