diff options
author | Joel Granados <j.granados@samsung.com> | 2023-06-27 16:30:19 +0300 |
---|---|---|
committer | Joel Granados <j.granados@samsung.com> | 2024-04-24 10:43:53 +0300 |
commit | 11a921909fea230cf7afcd6842a9452f3720b61b (patch) | |
tree | 2b641868896db98620558b85fcc6891a456385f3 /kernel/panic.c | |
parent | 4cece764965020c22cff7665b18a012006359095 (diff) | |
download | linux-11a921909fea230cf7afcd6842a9452f3720b61b.tar.xz |
kernel misc: 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/)
Remove the sentinel from ctl_table arrays. Reduce by one the values used
to compare the size of the adjusted arrays.
Signed-off-by: Joel Granados <j.granados@samsung.com>
Diffstat (limited to 'kernel/panic.c')
-rw-r--r-- | kernel/panic.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/kernel/panic.c b/kernel/panic.c index 747c3f3d289a..8bff183d6180 100644 --- a/kernel/panic.c +++ b/kernel/panic.c @@ -100,7 +100,6 @@ static struct ctl_table kern_panic_table[] = { .mode = 0644, .proc_handler = proc_douintvec, }, - { } }; static __init int kernel_panic_sysctls_init(void) |