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

Commit 2f7c624

Browse files
committed
locking: Remove superfluous sentinel element from kern_lockdep_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/) Signed-off-by: Joel Granados <j.granados@samsung.com>
1 parent c819e25 commit 2f7c624

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

kernel/locking/lockdep.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,6 @@ static struct ctl_table kern_lockdep_table[] = {
9797
.proc_handler = proc_dointvec,
9898
},
9999
#endif /* CONFIG_LOCK_STAT */
100-
{ }
101100
};
102101

103102
static __init int kernel_lockdep_sysctls_init(void)

0 commit comments

Comments
 (0)