diff options
author | Christian Göttsche <cgzones@googlemail.com> | 2022-02-17 15:21:29 +0100 |
---|---|---|
committer | Paul Moore <paul@paul-moore.com> | 2022-02-18 10:42:12 -0500 |
commit | 5ea33af9d430cd1dbfada1b839e0d317ed77bfac (patch) | |
tree | 63fb0d597bc11506bfaa5c00a1593ba5ca04bad2 /security/selinux/ss/services.c | |
parent | security: implement sctp_assoc_established hook in selinux (diff) | |
download | linux-dev-5ea33af9d430cd1dbfada1b839e0d317ed77bfac.tar.xz linux-dev-5ea33af9d430cd1dbfada1b839e0d317ed77bfac.zip |
selinux: drop return statement at end of void functions
Those return statements at the end of a void function are redundant.
Reported by clang-tidy [readability-redundant-control-flow]
Signed-off-by: Christian Göttsche <cgzones@googlemail.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'security/selinux/ss/services.c')
-rw-r--r-- | security/selinux/ss/services.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/security/selinux/ss/services.c b/security/selinux/ss/services.c index 2f8db93e53b2..6901dc07680d 100644 --- a/security/selinux/ss/services.c +++ b/security/selinux/ss/services.c @@ -529,8 +529,6 @@ out: /* release scontext/tcontext */ kfree(tcontext_name); kfree(scontext_name); - - return; } /* |