Commit 2c88607a authored by Xichao Zhao's avatar Xichao Zhao Committed by Namjae Jeon
Browse files

exfat: drop redundant conversion to bool



The result of integer comparison already evaluates to bool. No need for
explicit conversion.

No functional impact.

Signed-off-by: default avatarXichao Zhao <zhao.xichao@vivo.com>
Signed-off-by: default avatarNamjae Jeon <linkinjeon@kernel.org>
parent 79c1587b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -25,7 +25,7 @@ int __exfat_write_inode(struct inode *inode, int sync)
	struct super_block *sb = inode->i_sb;
	struct exfat_sb_info *sbi = EXFAT_SB(sb);
	struct exfat_inode_info *ei = EXFAT_I(inode);
	bool is_dir = (ei->type == TYPE_DIR) ? true : false;
	bool is_dir = (ei->type == TYPE_DIR);
	struct timespec64 ts;

	if (inode->i_ino == EXFAT_ROOT_INO)