Skip to content

Commit f842d9a

Browse files
committed
printk: Remove the now superfluous sentinel elements from ctl_table array
This commit comes at the tail end of a greater effort to remove the 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/) rm sentinel element from printk_sysctls Reviewed-by: Petr Mladek <pmladek@suse.com> Signed-off-by: Joel Granados <j.granados@samsung.com>
1 parent f532376 commit f842d9a

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

kernel/printk/sysctl.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,6 @@ static struct ctl_table printk_sysctls[] = {
7676
.extra1 = SYSCTL_ZERO,
7777
.extra2 = SYSCTL_TWO,
7878
},
79-
{}
8079
};
8180

8281
void __init printk_sysctl_init(void)

0 commit comments

Comments
 (0)