aboutsummaryrefslogtreecommitdiff
path: root/kernel/pid_sysctl.h
diff options
context:
space:
mode:
authorGravatar Joel Granados <j.granados@samsung.com> 2023-06-27 15:30:19 +0200
committerGravatar Joel Granados <j.granados@samsung.com> 2024-04-24 09:43:53 +0200
commit11a921909fea230cf7afcd6842a9452f3720b61b (patch)
tree2b641868896db98620558b85fcc6891a456385f3 /kernel/pid_sysctl.h
parentLinux 6.9-rc1 (diff)
downloadlinux-11a921909fea230cf7afcd6842a9452f3720b61b.tar.gz
linux-11a921909fea230cf7afcd6842a9452f3720b61b.tar.bz2
linux-11a921909fea230cf7afcd6842a9452f3720b61b.zip
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/pid_sysctl.h')
-rw-r--r--kernel/pid_sysctl.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/kernel/pid_sysctl.h b/kernel/pid_sysctl.h
index 2ee41a3a1dfd..fe9fb991dc42 100644
--- a/kernel/pid_sysctl.h
+++ b/kernel/pid_sysctl.h
@@ -41,7 +41,6 @@ static struct ctl_table pid_ns_ctl_table_vm[] = {
.extra1 = SYSCTL_ZERO,
.extra2 = SYSCTL_TWO,
},
- { }
};
static inline void register_pid_ns_sysctl_table_vm(void)
{