diff options
author | Yang Guang <yang.guang5@zte.com.cn> | 2021-11-25 03:56:03 +0300 |
---|---|---|
committer | Shuah Khan <skhan@linuxfoundation.org> | 2021-12-11 02:46:01 +0300 |
commit | 6d425d7c1bec67eceee42fefe5ce00be0645482e (patch) | |
tree | d801233f63caf6a467824c75b030ea2b601a6a84 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 3abedf4646fdc0036fcb8ebbc3b600667167fafe (diff) | |
download | linux-6d425d7c1bec67eceee42fefe5ce00be0645482e.tar.xz |
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions