summaryrefslogtreecommitdiff
path: root/mm/memory-failure.c
diff options
context:
space:
mode:
authorJoel Granados <j.granados@samsung.com>2024-03-28 16:57:48 +0100
committerAndrew Morton <akpm@linux-foundation.org>2024-04-25 20:56:32 -0700
commit7998df0b6407da65a0fe8325d6ff239c4e14ff7d (patch)
treef66da4a9de9ac5d81cf318b07f97738809ab2906 /mm/memory-failure.c
parente0abfbb67142448d57d7841b749d35981a0b92c7 (diff)
memory: remove the 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 from all files under mm/ that register a sysctl table. Link: https://lkml.kernel.org/r/20240328-jag-sysctl_remset_misc-v1-1-47c1463b3af2@samsung.com Signed-off-by: Joel Granados <j.granados@samsung.com> Reviewed-by: Muchun Song <muchun.song@linux.dev> Reviewed-by: Miaohe Lin <linmiaohe@huawei.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/memory-failure.c')
-rw-r--r--mm/memory-failure.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/mm/memory-failure.c b/mm/memory-failure.c
index 0d863e9216af..4f22330600ff 100644
--- a/mm/memory-failure.c
+++ b/mm/memory-failure.c
@@ -141,7 +141,6 @@ static struct ctl_table memory_failure_table[] = {
.extra1 = SYSCTL_ZERO,
.extra2 = SYSCTL_ONE,
},
- { }
};
/*