aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Granados <[email protected]>2024-06-04 08:29:20 +0200
committerJoel Granados <[email protected]>2024-06-13 10:50:52 +0200
commite2a6c472de7a5e5a1455a9fff1cfc55a1dd888af (patch)
tree6502a37e1ad41865d1bba6593cf781617c8cc16b
parent2f7c6248920523ca7468711891aa13f80ede8da4 (diff)
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%[email protected]/) Removed sentinel from memory_allocation_profiling_sysctls Signed-off-by: Joel Granados <[email protected]>
-rw-r--r--lib/alloc_tag.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/alloc_tag.c b/lib/alloc_tag.c
index 11ed973ac359..7293cd54d1b1 100644
--- a/lib/alloc_tag.c
+++ b/lib/alloc_tag.c
@@ -238,7 +238,6 @@ static struct ctl_table memory_allocation_profiling_sysctls[] = {
#endif
.proc_handler = proc_do_static_key,
},
- { }
};
static int __init alloc_tag_init(void)