ext4: remove unnecessary braces in fs/ext4/dir.c
authorMilan Djurovic <mdjurovic@zohomail.com>
Tue, 16 Mar 2021 05:29:53 +0000 (22:29 -0700)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 2 Apr 2021 21:22:14 +0000 (17:22 -0400)
Removes braces to follow the coding style.

Signed-off-by: Milan Djurovic <mdjurovic@zohomail.com>
Link: https://lore.kernel.org/r/20210316052953.67616-1-mdjurovic@zohomail.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/dir.c

index 5ed870614c8dfcdf8eaabf1036f514649f580b9c..110688d6b7a61c21f3f05d02527fd038eb94088d 100644 (file)
@@ -124,9 +124,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;
-               }
+
                /* Can we just clear INDEX flag to ignore htree information? */
                if (!ext4_has_metadata_csum(sb)) {
                        /*