diff options
author | Christian Göttsche <cgzones@googlemail.com> | 2023-04-20 17:05:01 +0200 |
---|---|---|
committer | Paul Moore <paul@paul-moore.com> | 2023-05-08 22:47:32 +0200 |
commit | aeb060ec71547a3fb7f68b8091538e94c5c5187f (patch) | |
tree | f9e16fa032ea7958a9e12c4dba83976f796e5514 /security | |
parent | selinux: avc: drop unused function avc_disable() (diff) | |
download | linux-aeb060ec71547a3fb7f68b8091538e94c5c5187f.tar.xz linux-aeb060ec71547a3fb7f68b8091538e94c5c5187f.zip |
selinux: drop return at end of void function avc_insert()
Commit 539813e4184a ("selinux: stop returning node from avc_insert()")
converted the return value of avc_insert() to void but left the now
unnecessary trailing return statement.
Signed-off-by: Christian Göttsche <cgzones@googlemail.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'security')
-rw-r--r-- | security/selinux/avc.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/security/selinux/avc.c b/security/selinux/avc.c index 6bc65830e1a9..1074db66e5ff 100644 --- a/security/selinux/avc.c +++ b/security/selinux/avc.c @@ -642,7 +642,6 @@ static void avc_insert(u32 ssid, u32 tsid, u16 tclass, hlist_add_head_rcu(&node->list, head); found: spin_unlock_irqrestore(lock, flag); - return; } /** |