diff options
author | Joel Granados <j.granados@samsung.com> | 2023-10-02 13:30:39 +0200 |
---|---|---|
committer | Luis Chamberlain <mcgrof@kernel.org> | 2023-10-11 00:22:02 +0200 |
commit | ecd5d66383d99ab132e3715c9e9867a5aba95e1b (patch) | |
tree | 7c439759cbf54233938030684c3ba368a0186b98 /arch/riscv/kernel/vector.c | |
parent | arch/x86: Remove now superfluous sentinel elem from ctl_table arrays (diff) | |
download | linux-ecd5d66383d99ab132e3715c9e9867a5aba95e1b.tar.xz linux-ecd5d66383d99ab132e3715c9e9867a5aba95e1b.zip |
x86/vdso: Remove now superfluous sentinel element 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 sentinel element from abi_table2. This removal is safe because
register_sysctl implicitly uses ARRAY_SIZE() in addition to checking for
the sentinel.
Signed-off-by: Joel Granados <j.granados@samsung.com>
Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
Diffstat (limited to 'arch/riscv/kernel/vector.c')
0 files changed, 0 insertions, 0 deletions