aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Shi <alex.shi@linux.alibaba.com>2020-01-21 16:50:03 +0800
committerJames Morris <jmorris@namei.org>2020-01-27 11:19:41 -0800
commit10c2d111c906599942efd13109061885631c4a0c (patch)
tree654cb68f3c3b1487c57c1d78c4bd3703f987ff2d
parentLinux 5.4 (diff)
downloadlinux-dev-10c2d111c906599942efd13109061885631c4a0c.tar.xz
linux-dev-10c2d111c906599942efd13109061885631c4a0c.zip
security: remove EARLY_LSM_COUNT which never used
This macro is never used from it was introduced in commit e6b1db98cf4d5 ("security: Support early LSMs"), better to remove it. Signed-off-by: Alex Shi <alex.shi@linux.alibaba.com> Acked-by: Serge Hallyn <serge@hallyn.com> Signed-off-by: James Morris <jmorris@namei.org>
-rw-r--r--security/security.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/security/security.c b/security/security.c
index 1bc000f834e2..344bf1327d7e 100644
--- a/security/security.c
+++ b/security/security.c
@@ -33,7 +33,6 @@
/* How many LSMs were built into the kernel? */
#define LSM_COUNT (__end_lsm_info - __start_lsm_info)
-#define EARLY_LSM_COUNT (__end_early_lsm_info - __start_early_lsm_info)
struct security_hook_heads security_hook_heads __lsm_ro_after_init;
static BLOCKING_NOTIFIER_HEAD(blocking_lsm_notifier_chain);