Skip to content

Commit 10c2d11

Browse files
alexshiJames Morris
authored andcommitted
security: remove EARLY_LSM_COUNT which never used
This macro is never used from it was introduced in commit e6b1db9 ("security: Support early LSMs"), better to remove it. Signed-off-by: Alex Shi <[email protected]> Acked-by: Serge Hallyn <[email protected]> Signed-off-by: James Morris <[email protected]>
1 parent 219d543 commit 10c2d11

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

security/security.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@
3333

3434
/* How many LSMs were built into the kernel? */
3535
#define LSM_COUNT (__end_lsm_info - __start_lsm_info)
36-
#define EARLY_LSM_COUNT (__end_early_lsm_info - __start_early_lsm_info)
3736

3837
struct security_hook_heads security_hook_heads __lsm_ro_after_init;
3938
static BLOCKING_NOTIFIER_HEAD(blocking_lsm_notifier_chain);

0 commit comments

Comments
 (0)