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. Improves: 539813e4184a ("selinux: stop returning node from avc_insert()") Signed-off-by: Christian Göttsche <cgzones@xxxxxxxxxxxxxx> --- security/selinux/avc.c | 1 - 1 file changed, 1 deletion(-) 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; } /** -- 2.40.0