diff options
author | 2021-12-06 08:07:23 +0800 | |
---|---|---|
committer | 2021-12-10 16:46:01 -0700 | |
commit | 009482c0932ae2420277dc0adaefa5bd51cb433e (patch) | |
tree | a42f934358925fb968432503a3ca3018f15e40cb /tools/perf/scripts/python/stackcollapse.py | |
parent | selftests/mount: remove unneeded conversion to bool (diff) | |
download | linux-dev-009482c0932ae2420277dc0adaefa5bd51cb433e.tar.xz linux-dev-009482c0932ae2420277dc0adaefa5bd51cb433e.zip |
selftests/move_mount_set_group remove unneeded conversion to bool
The coccinelle report
./tools/testing/selftests/move_mount_set_group/move_mount_set_group_test.c:225:18-23:
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/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions