f2fs: Simplify bool conversion
authorYang Li <yang.lee@linux.alibaba.com>
Wed, 15 Dec 2021 02:38:58 +0000 (10:38 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Tue, 4 Jan 2022 21:20:57 +0000 (13:20 -0800)
commitd361b690b6fcd0acdb34a56e9054a6eb6be4b0c3
tree0baa10c3f8cdd1eb9de7cb8364f74be514df26a0
parent2a64e303e3051550c75897239174e399dfcb8b7e
f2fs: Simplify bool conversion

Fix the following coccicheck warning:
./fs/f2fs/sysfs.c:491:41-46: WARNING: conversion to bool not needed here

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/sysfs.c