Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

net: sunrpc: 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/)

* Remove sentinel element from ctl_table structs.

Signed-off-by: Joel Granados <j.granados@samsung.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Joel Granados and committed by
David S. Miller
ca5d1fce 92bedf07

-4
-1
net/sunrpc/sysctl.c
··· 160 160 .mode = 0444, 161 161 .proc_handler = proc_do_xprt, 162 162 }, 163 - { } 164 163 }; 165 164 166 165 void
-1
net/sunrpc/xprtrdma/svc_rdma.c
··· 209 209 .extra1 = &zero, 210 210 .extra2 = &zero, 211 211 }, 212 - { }, 213 212 }; 214 213 215 214 static void svc_rdma_proc_cleanup(void)
-1
net/sunrpc/xprtrdma/transport.c
··· 137 137 .mode = 0644, 138 138 .proc_handler = proc_dointvec, 139 139 }, 140 - { }, 141 140 }; 142 141 143 142 #endif
-1
net/sunrpc/xprtsock.c
··· 160 160 .mode = 0644, 161 161 .proc_handler = proc_dointvec_jiffies, 162 162 }, 163 - { }, 164 163 }; 165 164 166 165 /*