aboutsummaryrefslogtreecommitdiffstats
path: root/security/tomoyo/memory.c
diff options
context:
space:
mode:
Diffstat (limited to 'security/tomoyo/memory.c')
-rw-r--r--security/tomoyo/memory.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/security/tomoyo/memory.c b/security/tomoyo/memory.c
index 8fb73ff5cb63..4809febc1acb 100644
--- a/security/tomoyo/memory.c
+++ b/security/tomoyo/memory.c
@@ -153,7 +153,6 @@ void __init tomoyo_mm_init(void)
153{ 153{
154 int idx; 154 int idx;
155 155
156 BUILD_BUG_ON(TOMOYO_MAX_PATHNAME_LEN > PATH_MAX);
157 for (idx = 0; idx < TOMOYO_MAX_HASH; idx++) 156 for (idx = 0; idx < TOMOYO_MAX_HASH; idx++)
158 INIT_LIST_HEAD(&tomoyo_name_list[idx]); 157 INIT_LIST_HEAD(&tomoyo_name_list[idx]);
159 INIT_LIST_HEAD(&tomoyo_kernel_domain.acl_info_list); 158 INIT_LIST_HEAD(&tomoyo_kernel_domain.acl_info_list);