mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-26 18:16:26 +00:00
selinux: Return an error code only as a constant in sidtab_insert()
* Return an error code without storing it in an intermediate variable. * Delete the local variable "rc" and the jump label "out" which became unnecessary with this refactoring. Signed-off-by: Markus Elfring <elfring@users.sourceforge.net> Signed-off-by: Paul Moore <paul@paul-moore.com>
This commit is contained in:
parent
62934ffb9e
commit
46be14d2b6
1 changed files with 10 additions and 17 deletions
Loading…
Add table
Add a link
Reference in a new issue