OSDN Git Service

staging: exfat: remove unnecessary new line in if condition
authorRoi Martin <jroi.martin@gmail.com>
Wed, 30 Oct 2019 01:03:25 +0000 (02:03 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 30 Oct 2019 09:41:37 +0000 (10:41 +0100)
Fix checkpatch.pl warning:

CHECK: Logical continuations should be on the previous line

Signed-off-by: Roi Martin <jroi.martin@gmail.com>
Link: https://lore.kernel.org/r/20191030010328.10203-4-jroi.martin@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/exfat/exfat_core.c

index 69c14e4..493c000 100644 (file)
@@ -1727,8 +1727,7 @@ struct entry_set_cache_t *get_entry_set_in_dir(struct super_block *sb,
        ep = (struct dentry_t *)(buf + off);
        entry_type = p_fs->fs_func->get_entry_type(ep);
 
-       if ((entry_type != TYPE_FILE)
-               && (entry_type != TYPE_DIR))
+       if ((entry_type != TYPE_FILE) && (entry_type != TYPE_DIR))
                goto err_out;
 
        if (type == ES_ALL_ENTRIES)