linux/tools/testing/selftests/mount
Yang Guang 6d425d7c1b selftests/mount: remove unneeded conversion to bool
The coccinelle report
./tools/testing/selftests/mount/unprivileged-remount-test.c:285:54-59:
WARNING: conversion to bool not needed here
./tools/testing/selftests/mount/unprivileged-remount-test.c:207:54-59:
WARNING: conversion to bool not needed here
Relational and logical operators evaluate to bool,
explicit conversion is overly verbose and unneeded.

Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: Yang Guang <yang.guang5@zte.com.cn>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
2021-12-10 16:46:01 -07:00
..
.gitignore
config
Makefile
nosymfollow-test.c
run_nosymfollow.sh
run_unprivileged_remount.sh
unprivileged-remount-test.c selftests/mount: remove unneeded conversion to bool 2021-12-10 16:46:01 -07:00