diff options
author | Xu Panda <xu.panda@zte.com.cn> | 2022-09-12 09:17:19 +0000 |
---|---|---|
committer | Paul Moore <paul@paul-moore.com> | 2022-09-14 07:47:27 -0400 |
commit | 09b71adab09570fcc715ff31a6835d0e445e4a54 (patch) | |
tree | 7592e99ba72389eda93f0bc6eec06647a7997714 /samples | |
parent | 6354324d8a3e31108b53ac8ac6e9b67c9485d75a (diff) |
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 'samples')
0 files changed, 0 insertions, 0 deletions