Skip to content

Commit

Permalink
security: remove EARLY_LSM_COUNT which never used
Browse files Browse the repository at this point in the history
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 <alex.shi@linux.alibaba.com>
Acked-by: Serge Hallyn <serge@hallyn.com>
Signed-off-by: James Morris <jmorris@namei.org>
  • Loading branch information
alexshi authored and James Morris committed Jan 27, 2020
1 parent 219d543 commit 10c2d11
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion security/security.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 10c2d11

Please sign in to comment.