aboutsummaryrefslogtreecommitdiffstats
path: root/lib/alloc_tag.c
diff options
context:
space:
mode:
authorJoel Granados <[email protected]>2024-06-04 06:29:20 +0000
committerJoel Granados <[email protected]>2024-06-13 08:50:52 +0000
commite2a6c472de7a5e5a1455a9fff1cfc55a1dd888af (patch)
tree6502a37e1ad41865d1bba6593cf781617c8cc16b /lib/alloc_tag.c
parentlocking: Remove superfluous sentinel element from kern_lockdep_table (diff)
downloadkernel-e2a6c472de7a5e5a1455a9fff1cfc55a1dd888af.tar.gz
kernel-e2a6c472de7a5e5a1455a9fff1cfc55a1dd888af.zip
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]>
Diffstat (limited to 'lib/alloc_tag.c')
-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)