Skip to content

Commit 92bedf0

Browse files
Joelgranadosdavem330
authored andcommitted
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>
1 parent 1c106eb commit 92bedf0

3 files changed

Lines changed: 0 additions & 3 deletions

File tree

net/rds/ib_sysctl.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,6 @@ static struct ctl_table rds_ib_sysctl_table[] = {
103103
.mode = 0644,
104104
.proc_handler = proc_dointvec,
105105
},
106-
{ }
107106
};
108107

109108
void rds_ib_sysctl_exit(void)

net/rds/sysctl.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,6 @@ static struct ctl_table rds_sysctl_rds_table[] = {
8989
.mode = 0644,
9090
.proc_handler = proc_dointvec,
9191
},
92-
{ }
9392
};
9493

9594
void rds_sysctl_exit(void)

net/rds/tcp.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,6 @@ static struct ctl_table rds_tcp_sysctl_table[] = {
8686
.proc_handler = rds_tcp_skbuf_handler,
8787
.extra1 = &rds_tcp_min_rcvbuf,
8888
},
89-
{ }
9089
};
9190

9291
u32 rds_tcp_write_seq(struct rds_tcp_connection *tc)

0 commit comments

Comments
 (0)