Skip to content

Commit

Permalink
sysctl: remove the vm_table
Browse files Browse the repository at this point in the history
After patch1~14 is applied, all sysctls of vm_table
would be moved. So, delete vm_table.

Signed-off-by: Kaixiong Yu <yukaixiong@huawei.com>
Signed-off-by: Joel Granados <joel.granados@kernel.org>
  • Loading branch information
Kaixiong Yu authored and Joel Granados committed Feb 7, 2025
1 parent f569ca4 commit fa89dbd
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions kernel/sysctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -2012,12 +2012,9 @@ static const struct ctl_table kern_table[] = {
#endif
};

static const 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;
}
Expand Down

0 comments on commit fa89dbd

Please sign in to comment.