Skip to content
Commit 09b71ada authored by Xu Panda's avatar Xu Panda Committed by Paul Moore
Browse files

selinux: remove the unneeded result variable



Return the value avc_has_perm() directly instead of storing it in
another redundant variable.

Reported-by: default avatarZeal Robot <zealci@zte.com.cn>
Signed-off-by: default avatarXu Panda <xu.panda@zte.com.cn>
[PM: subject line tweak]
Signed-off-by: default avatarPaul Moore <paul@paul-moore.com>
parent 6354324d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment