selinux: stop returning node from avc_insert()
authorStephen Smalley <stephen.smalley.work@gmail.com>
Mon, 3 Apr 2023 16:37:53 +0000 (12:37 -0400)
committerPaul Moore <paul@paul-moore.com>
Tue, 4 Apr 2023 16:05:42 +0000 (12:05 -0400)
commit539813e4184a3ee4125123cc39cc9fc29691d299
tree033827a88fae6b308d0b01c86b8f0e2bfb41470a
parent340133318800b55784792d762c7713265c96336a
selinux: stop returning node from avc_insert()

The callers haven't used the returned node since
commit 21193dcd1f3570dd ("SELinux: more careful use of avd in
avc_has_perm_noaudit") and the return value assignments were removed in
commit 0a9876f36b08706d ("selinux: Remove redundant assignments"). Stop
returning the node altogether and make the functions return void.

Signed-off-by: Stephen Smalley <stephen.smalley.work@gmail.com>
PM: minor subj tweak, repair whitespace damage
Signed-off-by: Paul Moore <paul@paul-moore.com>
security/selinux/avc.c