Skip to contentSkip to conversation

fs: ext4: dir: Removed unnecessary braces

PATCH New Adir Kuhn 1 participant 1 message May 5, 2015

Subsystems (2)
lore
Share & tools
lore

Adir Kuhn

author
#0 lore raw

PATCH 1/4 fs: ext4: dir: Removed unnecessary braces

Removed unnecessary braces

---
 fs/ext4/dir.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
fs/ext4/dir.c +2 -2
index 61db51a..b81ffae 100644
@@ -115,9 +115,9 @@ static int ext4_readdir(struct file *file, struct dir_context *ctx)
 
 	if (is_dx_dir(inode)) {
 		err = ext4_dx_readdir(file, ctx);
-		if (err != ERR_BAD_DX_DIR) {
+		if (err != ERR_BAD_DX_DIR)
 			return err;
-		}
+
 		/*
 		 * We don't set the inode dirty flag since it's not
 		 * critical that it get flushed back to the disk.

--
2.1.4