summaryrefslogtreecommitdiff
path: root/scripts/gfp-translate
diff options
context:
space:
mode:
authorJoel Granados <j.granados@samsung.com>2023-05-16 18:29:03 +0200
committerLuis Chamberlain <mcgrof@kernel.org>2023-05-16 15:47:07 -0700
commit1685b445d7787f89175d3891421348bd782fe5a0 (patch)
treeb7d93d1566ae53241862d021d4c1db1f72c6eb77 /scripts/gfp-translate
parentdc5f2dc791ac83c20f264d7d69811638a07340cc (diff)
downloadlinux-next-1685b445d7787f89175d3891421348bd782fe5a0.tar.gz
sysctl: stop exporting register_sysctl_table
We make register_sysctl_table static because the only function calling it is in fs/proc/proc_sysctl.c (__register_sysctl_base). We remove it from the sysctl.h header and modify the documentation in both the header and proc_sysctl.c files to mention "register_sysctl" instead of "register_sysctl_table". This plus the commits that remove register_sysctl_table from parport save 217 bytes: ./scripts/bloat-o-meter .bsysctl/vmlinux.old .bsysctl/vmlinux.new add/remove: 0/1 grow/shrink: 5/1 up/down: 458/-675 (-217) Function old new delta __register_sysctl_base 8 286 +278 parport_proc_register 268 379 +111 parport_device_proc_register 195 247 +52 kzalloc.constprop 598 608 +10 parport_default_proc_register 62 69 +7 register_sysctl_table 291 - -291 parport_sysctl_template 1288 904 -384 Total: Before=8603076, After=8602859, chg -0.00% Signed-off-by: Joel Granados <j.granados@samsung.com> Reviewed-by: Luis Chamberlain <mcgrof@kernel.org> Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
Diffstat (limited to 'scripts/gfp-translate')
0 files changed, 0 insertions, 0 deletions