Skip to content
Commit d3f84f5c authored by Xu Panda's avatar Xu Panda Committed by Casey Schaufler
Browse files

smack: lsm: remove the unneeded result variable



Return the value smk_ptrace_rule_check() 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>
Signed-off-by: default avatarCasey Schaufler <casey@schaufler-ca.com>
parent 4ca165fc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment