summaryrefslogtreecommitdiff
path: root/security/selinux/ss/ebitmap.c
diff options
context:
space:
mode:
authorChristian Göttsche <cgzones@googlemail.com>2022-02-17 17:21:29 +0300
committerPaul Moore <paul@paul-moore.com>2022-02-18 18:42:12 +0300
commit5ea33af9d430cd1dbfada1b839e0d317ed77bfac (patch)
tree63fb0d597bc11506bfaa5c00a1593ba5ca04bad2 /security/selinux/ss/ebitmap.c
parent3eb8eaf2ca3e98d4f6e52bed6148ee8fe3069a3d (diff)
downloadlinux-5ea33af9d430cd1dbfada1b839e0d317ed77bfac.tar.xz
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/ebitmap.c')
-rw-r--r--security/selinux/ss/ebitmap.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/security/selinux/ss/ebitmap.c b/security/selinux/ss/ebitmap.c
index 61fcbb8d0f88..abde349c8321 100644
--- a/security/selinux/ss/ebitmap.c
+++ b/security/selinux/ss/ebitmap.c
@@ -359,7 +359,6 @@ void ebitmap_destroy(struct ebitmap *e)
e->highbit = 0;
e->node = NULL;
- return;
}
int ebitmap_read(struct ebitmap *e, void *fp)