]> git.baikalelectronics.ru Git - kernel.git/commitdiff
security: remove EARLY_LSM_COUNT which never used
authorAlex Shi <alex.shi@linux.alibaba.com>
Tue, 21 Jan 2020 08:50:03 +0000 (16:50 +0800)
committerJames Morris <jmorris@namei.org>
Mon, 27 Jan 2020 19:19:41 +0000 (11:19 -0800)
This macro is never used from it was introduced in commit 8f118e0656fe7
("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>
security/security.c

index 1bc000f834e2ddfce587b116604c9c4ad1435739..344bf1327d7e42c47351ccabdecc003d90c919a5 100644 (file)
@@ -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);