Skip to content
This repository was archived by the owner on Nov 8, 2023. It is now read-only.

Commit e2a6c47

Browse files
committed
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: Joel Granados <j.granados@samsung.com>
1 parent 2f7c624 commit e2a6c47

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/alloc_tag.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,6 @@ static struct ctl_table memory_allocation_profiling_sysctls[] = {
238238
#endif
239239
.proc_handler = proc_do_static_key,
240240
},
241-
{ }
242241
};
243242

244243
static int __init alloc_tag_init(void)

0 commit comments

Comments
 (0)