Commit 92bedf07 authored by Joel Granados's avatar Joel Granados Committed by David S. Miller
Browse files

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: default avatarJoel Granados <j.granados@samsung.com>
Acked-by: default avatarAllison Henderson <allison.henderson@oracle.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 1c106eb0
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -103,7 +103,6 @@ static struct ctl_table rds_ib_sysctl_table[] = {
		.mode		= 0644,
		.proc_handler	= proc_dointvec,
	},
	{ }
};

void rds_ib_sysctl_exit(void)
+0 −1
Original line number Diff line number Diff line
@@ -89,7 +89,6 @@ static struct ctl_table rds_sysctl_rds_table[] = {
		.mode           = 0644,
		.proc_handler   = proc_dointvec,
	},
	{ }
};

void rds_sysctl_exit(void)
+0 −1
Original line number Diff line number Diff line
@@ -86,7 +86,6 @@ static struct ctl_table rds_tcp_sysctl_table[] = {
		.proc_handler   = rds_tcp_skbuf_handler,
		.extra1		= &rds_tcp_min_rcvbuf,
	},
	{ }
};

u32 rds_tcp_write_seq(struct rds_tcp_connection *tc)