diff options
author | Joel Granados <j.granados@samsung.com> | 2023-06-27 15:30:21 +0200 |
---|---|---|
committer | Joel Granados <j.granados@samsung.com> | 2024-04-24 09:43:54 +0200 |
commit | f532376e881fb370bc2901a9e1cf0b7e461638ad (patch) | |
tree | b08aa046b6deeafd50c2143fa6ae4be2d60cfa29 /kernel/sched/autogroup.c | |
parent | e822582effc6bc00da9b28cf814935a6be070504 (diff) |
scheduler: 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 ctl_table arrays
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Tested-by: Valentin Schneider <vschneid@redhat.com>
Reviewed-by: Valentin Schneider <vschneid@redhat.com>
Signed-off-by: Joel Granados <j.granados@samsung.com>
Diffstat (limited to 'kernel/sched/autogroup.c')
-rw-r--r-- | kernel/sched/autogroup.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/kernel/sched/autogroup.c b/kernel/sched/autogroup.c index 991fc9002535..db68a964e34e 100644 --- a/kernel/sched/autogroup.c +++ b/kernel/sched/autogroup.c @@ -19,7 +19,6 @@ static struct ctl_table sched_autogroup_sysctls[] = { .extra1 = SYSCTL_ZERO, .extra2 = SYSCTL_ONE, }, - {} }; static void __init sched_autogroup_sysctl_init(void) |