Commit e2a6c472 authored by Joel Granados's avatar Joel Granados

mm profiling: Remove superfluous sentinel element from ctl_table

This commit is part of a greater effort to remove all empty elements at
the end of the ctl_table arrays (sentinels) which will reduce the
overall build time size of the kernel and run time memory bloat by ~64
bytes per sentinel (further information Link :
https://lore.kernel.org/all/ZO5Yx5JFogGi%2FcBo@bombadil.infradead.org/)

Removed sentinel from memory_allocation_profiling_sysctls
Signed-off-by: default avatarJoel Granados <j.granados@samsung.com>
parent 2f7c6248
...@@ -238,7 +238,6 @@ static struct ctl_table memory_allocation_profiling_sysctls[] = { ...@@ -238,7 +238,6 @@ static struct ctl_table memory_allocation_profiling_sysctls[] = {
#endif #endif
.proc_handler = proc_do_static_key, .proc_handler = proc_do_static_key,
}, },
{ }
}; };
static int __init alloc_tag_init(void) static int __init alloc_tag_init(void)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment