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 selftests: mount: add nosymfollow tests 2020-08-27 16:06:47 -04:00
config selftests: mount: remove no longer needed config option 2018-08-09 11:26:07 -06:00
Makefile selftests: mount: add nosymfollow tests 2020-08-27 16:06:47 -04:00
nosymfollow-test.c selftests: mount: add nosymfollow tests 2020-08-27 16:06:47 -04:00
run_nosymfollow.sh selftests: mount: add nosymfollow tests 2020-08-27 16:06:47 -04:00
run_unprivileged_remount.sh selftests: mount: add nosymfollow tests 2020-08-27 16:06:47 -04:00
unprivileged-remount-test.c selftests/mount: remove unneeded conversion to bool 2021-12-10 16:46:01 -07:00