summaryrefslogtreecommitdiffstats
path: root/kernel/sched/topology.c
diff options
context:
space:
mode:
authorJoel Granados <j.granados@samsung.com>2023-06-27 15:30:21 +0200
committerJoel Granados <j.granados@samsung.com>2024-04-24 09:43:54 +0200
commitf532376e881fb370bc2901a9e1cf0b7e461638ad (patch)
treeb08aa046b6deeafd50c2143fa6ae4be2d60cfa29 /kernel/sched/topology.c
parente822582effc6bc00da9b28cf814935a6be070504 (diff)
downloadlinux-stable-f532376e881fb370bc2901a9e1cf0b7e461638ad.tar.gz
linux-stable-f532376e881fb370bc2901a9e1cf0b7e461638ad.tar.bz2
linux-stable-f532376e881fb370bc2901a9e1cf0b7e461638ad.zip
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/topology.c')
-rw-r--r--kernel/sched/topology.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/kernel/sched/topology.c b/kernel/sched/topology.c
index 99ea5986038c..42c22648d124 100644
--- a/kernel/sched/topology.c
+++ b/kernel/sched/topology.c
@@ -322,7 +322,6 @@ static struct ctl_table sched_energy_aware_sysctls[] = {
.extra1 = SYSCTL_ZERO,
.extra2 = SYSCTL_ONE,
},
- {}
};
static int __init sched_energy_aware_sysctl_init(void)