selinux: drop return statement at end of void functions
authorChristian Göttsche <cgzones@googlemail.com>
Thu, 17 Feb 2022 14:21:29 +0000 (15:21 +0100)
committerPaul Moore <paul@paul-moore.com>
Fri, 18 Feb 2022 15:42:12 +0000 (10:42 -0500)
commit5ea33af9d430cd1dbfada1b839e0d317ed77bfac
tree63fb0d597bc11506bfaa5c00a1593ba5ca04bad2
parent3eb8eaf2ca3e98d4f6e52bed6148ee8fe3069a3d
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>
security/selinux/hooks.c
security/selinux/ss/conditional.c
security/selinux/ss/ebitmap.c
security/selinux/ss/mls.c
security/selinux/ss/services.c