]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5ae02e33e54cef00402669666b7bf5bcbfdb8119
tree61011acf8b346899c7400c7287dd91f3f0059dc3
parentbf85f09e5c39c748ed37c7db426d97e44bef8a6f
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