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

net: rds: 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>
Acked-by: Allison Henderson <allison.henderson@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Joel Granados and committed by
David S. Miller
92bedf07 1c106eb0

-3
-1
net/rds/ib_sysctl.c
··· 103 103 .mode = 0644, 104 104 .proc_handler = proc_dointvec, 105 105 }, 106 - { } 107 106 }; 108 107 109 108 void rds_ib_sysctl_exit(void)
-1
net/rds/sysctl.c
··· 89 89 .mode = 0644, 90 90 .proc_handler = proc_dointvec, 91 91 }, 92 - { } 93 92 }; 94 93 95 94 void rds_sysctl_exit(void)
-1
net/rds/tcp.c
··· 86 86 .proc_handler = rds_tcp_skbuf_handler, 87 87 .extra1 = &rds_tcp_min_rcvbuf, 88 88 }, 89 - { } 90 89 }; 91 90 92 91 u32 rds_tcp_write_seq(struct rds_tcp_connection *tc)