diff options
author | Casey Schaufler <[email protected]> | 2018-09-21 17:17:34 -0700 |
---|---|---|
committer | Kees Cook <[email protected]> | 2019-01-08 13:18:44 -0800 |
commit | 3d252529480c68bfd6a6774652df7c8968b28e41 (patch) | |
tree | df4d1e20607ea39b6d5c11224b05f29ae91c399a /security/selinux/hooks.c | |
parent | 98c88651365767c72ec6dc672072423bc19a39aa (diff) |
SELinux: Remove unused selinux_is_enabled
There are no longer users of selinux_is_enabled().
Remove it. As selinux_is_enabled() is the only reason
for include/linux/selinux.h remove that as well.
Signed-off-by: Casey Schaufler <[email protected]>
Reviewed-by: Kees Cook <[email protected]>
Signed-off-by: Kees Cook <[email protected]>
Diffstat (limited to 'security/selinux/hooks.c')
-rw-r--r-- | security/selinux/hooks.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/security/selinux/hooks.c b/security/selinux/hooks.c index ad227177550b..169cf5b3334b 100644 --- a/security/selinux/hooks.c +++ b/security/selinux/hooks.c @@ -79,7 +79,6 @@ #include <linux/personality.h> #include <linux/audit.h> #include <linux/string.h> -#include <linux/selinux.h> #include <linux/mutex.h> #include <linux/posix-timers.h> #include <linux/syslog.h> |