diff options
Diffstat (limited to 'security/security.c')
-rw-r--r-- | security/security.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/security/security.c b/security/security.c index b8d75f5a948d..35f93b7c585b 100644 --- a/security/security.c +++ b/security/security.c | |||
@@ -274,7 +274,6 @@ int __init security_init(void) | |||
274 | * Load minor LSMs, with the capability module always first. | 274 | * Load minor LSMs, with the capability module always first. |
275 | */ | 275 | */ |
276 | capability_add_hooks(); | 276 | capability_add_hooks(); |
277 | yama_add_hooks(); | ||
278 | 277 | ||
279 | /* Load LSMs in specified order. */ | 278 | /* Load LSMs in specified order. */ |
280 | ordered_lsm_init(); | 279 | ordered_lsm_init(); |