exfat: remove the assignment of 0 to bool variable
authorJason Yan <yanaijie@huawei.com>
Thu, 16 Apr 2020 04:34:26 +0000 (13:34 +0900)
committerNamjae Jeon <namjae.jeon@samsung.com>
Tue, 9 Jun 2020 07:48:53 +0000 (16:48 +0900)
commitcdc06129a6cea0e4863fa2b34a0c132c6eb7278b
tree61011acf8b346899c7400c7287dd91f3f0059dc3
parent6778337a7a4e51ec9fa4a76846d34e8a66ca6418
exfat: remove the assignment of 0 to bool variable

There is no need to init 'sync' in exfat_set_vol_flags().
This also fixes the following coccicheck warning:

fs/exfat/super.c:104:6-10: WARNING: Assignment of 0/1 to bool variable

Signed-off-by: Jason Yan <yanaijie@huawei.com>
Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
fs/exfat/super.c