summaryrefslogtreecommitdiff
path: root/security/selinux
diff options
context:
space:
mode:
authorMarkus Elfring <elfring@users.sourceforge.net>2017-01-14 13:00:23 +0300
committerPaul Moore <paul@paul-moore.com>2017-03-23 23:25:42 +0300
commite34cfef901badc0e17c2b296a535e7412ef038f3 (patch)
treeaa6f6370c6c13eee063dd42f2d293a7506910720 /security/selinux
parentf6076f704aa29679fdba114b0f60e71e0884840a (diff)
downloadlinux-e34cfef901badc0e17c2b296a535e7412ef038f3.tar.xz
selinux: Delete an unnecessary return statement in cond_compute_av()
The script "checkpatch.pl" pointed information out like the following. WARNING: void function return statements are not generally useful Thus remove such a statement in the affected function. Signed-off-by: Markus Elfring <elfring@users.sourceforge.net> Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'security/selinux')
-rw-r--r--security/selinux/ss/conditional.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/security/selinux/ss/conditional.c b/security/selinux/ss/conditional.c
index fcfab2635c11..4a3bf29f7565 100644
--- a/security/selinux/ss/conditional.c
+++ b/security/selinux/ss/conditional.c
@@ -664,5 +664,4 @@ void cond_compute_av(struct avtab *ctab, struct avtab_key *key,
(node->key.specified & AVTAB_XPERMS))
services_compute_xperms_drivers(xperms, node);
}
- return;
}