[PATCH 3/6] staging: exfat: remove unnecessary new line in if condition

From: Roi Martin
Date: Tue Oct 29 2019 - 21:04:59 EST


Fix checkpatch.pl warning:

CHECK: Logical continuations should be on the previous line

Signed-off-by: Roi Martin <jroi.martin@xxxxxxxxx>
---
drivers/staging/exfat/exfat_core.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/staging/exfat/exfat_core.c b/drivers/staging/exfat/exfat_core.c
index 177787296ab9..4d6ea5c809d3 100644
--- a/drivers/staging/exfat/exfat_core.c
+++ b/drivers/staging/exfat/exfat_core.c
@@ -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)
--
2.20.1