[PATCH v5 -next 15/16] sysctl: remove the vm_table
From: Kaixiong Yu
Date: Sat Jan 11 2025 - 02:18:34 EST
After patch1~14 is applied, all sysctls of vm_table
would be moved. So, delete vm_table.
Signed-off-by: Kaixiong Yu <yukaixiong@xxxxxxxxxx>
---
v5:
- take the advice of Joel Granados, separating moving the
vdso_enabled table and removing the vm_table into two parts.
This patch removes the vm_table.
---
---
kernel/sysctl.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/kernel/sysctl.c b/kernel/sysctl.c
index 21c362768358..cebd0ef5d19d 100644
--- a/kernel/sysctl.c
+++ b/kernel/sysctl.c
@@ -2012,12 +2012,9 @@ static struct ctl_table kern_table[] = {
#endif
};
-static struct ctl_table vm_table[] = {};
-
int __init sysctl_init_bases(void)
{
register_sysctl_init("kernel", kern_table);
- register_sysctl_init("vm", vm_table);
return 0;
}
--
2.34.1