diff options
author | 2022-09-12 09:17:19 +0000 | |
---|---|---|
committer | 2022-09-14 07:47:27 -0400 | |
commit | 09b71adab09570fcc715ff31a6835d0e445e4a54 (patch) | |
tree | 7592e99ba72389eda93f0bc6eec06647a7997714 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | selinux: declare read-only parameters const (diff) | |
download | linux-dev-09b71adab09570fcc715ff31a6835d0e445e4a54.tar.xz linux-dev-09b71adab09570fcc715ff31a6835d0e445e4a54.zip |
selinux: remove the unneeded result variable
Return the value avc_has_perm() directly instead of storing it in
another redundant variable.
Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: Xu Panda <xu.panda@zte.com.cn>
[PM: subject line tweak]
Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions